]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Moved some AliInfo to AliDebug in SendMail function
authoracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Jan 2007 19:13:52 +0000 (19:13 +0000)
committeracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Jan 2007 19:13:52 +0000 (19:13 +0000)
SHUTTLE/AliShuttle.cxx

index 13474e7268c18af31badc172c9640678b8172720..daa6a4bb691904c6d54a01e21583c3ca11ac5f18 100644 (file)
@@ -2086,13 +2086,13 @@ Bool_t AliShuttle::SendMail()
                to += Form("%s,", anExpert->GetName());
        }
        to.Remove(to.Length()-1);
-       AliInfo(Form("to: %s",to.Data()));
+       AliDebug(2, Form("to: %s",to.Data()));
 
        TString cc="alberto.colla@cern.ch";
 
        TString subject = Form("%s Shuttle preprocessor error in run %d !",
                                fCurrentDetector.Data(), GetCurrentRun());
-       AliInfo(Form("subject: %s", subject.Data()));
+       AliDebug(2, Form("subject: %s", subject.Data()));
 
        TString body = Form("Dear %s expert(s), \n\n", fCurrentDetector.Data());
        body += Form("SHUTTLE just detected that your preprocessor "
@@ -2100,7 +2100,7 @@ Bool_t AliShuttle::SendMail()
        body += Form("Please check %s status on the web page asap!\n\n", fCurrentDetector.Data());
        body += Form("The last 10 lines of %s log file are following:\n\n");
 
-       AliInfo(Form("Body begin: %s", body.Data()));
+       AliDebug(2, Form("Body begin: %s", body.Data()));
 
        mailBody << body.Data();
        mailBody.close();
@@ -2118,7 +2118,7 @@ Bool_t AliShuttle::SendMail()
        endBody += "Please do not answer this message directly, it is automatically generated!\n\n";
        endBody += "Sincerely yours,\n\n \t\t\tthe SHUTTLE\n";
 
-       AliInfo(Form("Body end: %s", endBody.Data()));
+       AliDebug(2, Form("Body end: %s", endBody.Data()));
 
        mailBody << endBody.Data();
 
@@ -2130,7 +2130,7 @@ Bool_t AliShuttle::SendMail()
                                                cc.Data(),
                                                to.Data(),
                                                bodyFileName.Data());
-       AliInfo(Form("mail command: %s", mailCommand.Data()));
+       AliDebug(2, Form("mail command: %s", mailCommand.Data()));
 
        Bool_t result = gSystem->Exec(mailCommand.Data());