Ignore:
Timestamp:
02/05/08 11:41:55 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MCosy.cc

    r8852 r8856  
    549549    if (HasZombie())
    550550    {
    551         lout << "- Found Zombies in Network..." << endl;
     551        gLog << warn << "- Found Zombies in Network..." << endl;
    552552        if (!RebootZombies())
    553553            return false;
  • trunk/MagicSoft/Cosy/main/MStarguider.cc

    r8847 r8856  
    216216
    217217    TString disp=gVirtualX->DisplayName();
    218     cout << "Display: " << disp << endl;
     218    gLog << all << "Display: " << disp << endl;
    219219    if (disp.First(':')>=0)
    220220        disp=disp(0, disp.First(':'));
     
    507507      fStatus(MDriveCom::kStandby)
    508508{
    509     cout << " #### FIXME: Make MCaos Thread safe!" << endl;
     509    gLog << warn << " #### FIXME: Make MCaos Thread safe!" << endl;
    510510
    511511    // This means that all objects added with AddFrame are deleted
     
    582582    delete fAmcSocket;
    583583
    584     cout << "Camera Display destroyed." << endl;
     584    gLog << inf2 << "Camera Display destroyed." << endl;
    585585}
    586586
     
    596596    if (len<0)
    597597    {
    598         cout << "ERROR - Sending Trigger to Amc" << endl;
     598        gLog << err << "ERROR - Sending Trigger to Amc" << endl;
    599599        return false;
    600600    }
    601601    if (len!=txt.Length())
    602602    {
    603         cout << "Send wrong number (" << len << ") of Bytes to Amc." << endl;
     603        gLog << err << "Send wrong number (" << len << ") of Bytes to Amc." << endl;
    604604        return false;
    605605    }
     
    615615void MStarguider::CloseWindow()
    616616{
    617     cout << "EventDisplay::CloseWindow: Exit Application Loop." << endl;
     617    gLog << inf2 << "EventDisplay::CloseWindow: Exit Application Loop." << endl;
    618618
    619619    //fClient.ExitLoop();
     
    817817                {
    818818                    const Float_t pixsize = atof(fPixSize->GetText());
    819                     cout << "Pixel Size changed to " << pixsize << "\"/pix" << endl;
     819                    gLog << all << "Pixel Size changed to " << pixsize << "\"/pix" << endl;
    820820                    fSao->SetPixSize(pixsize);
    821821                    return kTRUE;
     
    824824                {
    825825                    const Float_t angle = atof(fAngle->GetText());
    826                     cout << "Rotation Angle changed to " << angle << "deg" << endl;
     826                    gLog << all << "Rotation Angle changed to " << angle << "deg" << endl;
    827827                    fSao->SetRotationAngle(angle);
    828828                    return kTRUE;
     
    831831                {
    832832                    const Float_t cut = atof(fCut->GetText());
    833                     cout << "Starguider cleaning level changed to " << cut << " sigma." << endl;
     833                    gLog << all << "Starguider cleaning level changed to " << cut << " sigma." << endl;
    834834                    return kTRUE;
    835835                }
     
    13641364    if (num < 3) //was 1
    13651365    {
    1366         cout << "Sorry, less than 3 detected spot in FOV!" << endl;
     1366        gLog << warn << "Sorry, less than 3 detected spot in FOV!" << endl;
    13671367        if (fStargTPoint->IsDown())
    13681368            fStargTPoint->SetDown(kFALSE);
     
    13731373    if (stars.GetRealEntries() < 3)
    13741374    {
    1375         cout << "Sorry, less than 3 stars in FOV!" << endl;
     1375        gLog << warn << "Sorry, less than 3 stars in FOV!" << endl;
    13761376        if (fStargTPoint->IsDown())
    13771377            fStargTPoint->SetDown(kFALSE);
     
    14661466        // open tpoint file
    14671467        const TString name = MCosy::GetFileName("tpoint", "starg", "txt");
    1468         cout << "TPoint-Starg File ********* " << name << " ********** " << endl;
     1468        gLog << all << "TPoint-Starg File ********* " << name << " ********** " << endl;
    14691469
    14701470        fOutStargTp = new ofstream(name);
     
    15791579        {
    15801580            fTPoint->SetDown(kFALSE);
    1581             cout << "No star found. Couldn't take a tpoint." << endl;
     1581            gLog << warn << "No star found. Couldn't take a tpoint." << endl;
    15821582        }
    15831583        return ZdAz(.0,.0);
Note: See TracChangeset for help on using the changeset viewer.