Errorlogging: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==
In case of problems there exists a [[Cumulusutils logfile]] where you can check for yourself or ask on the forum for help with the log file as attachment.<br/>
In case of problems there exists a [[Cumulusutils logfile]] where you can check for yourself or ask on the forum for help with the log file as attachment.<br/>
By default logging is on but it can be switched off by setting the parameter ''LoggingOn'' (section ''General'') to ''false'' (see below in the parameter section).
By default logging is on but it can be switched off by setting the parameter ''LoggingOn'' (section ''General'') to ''false'' (see below in the parameter section).<br/>
Independent of the logfile is the console logging which is governed by the parameter ''NormalMessageToConsole''.
Ftp logging is also independent and can be switched on/off by its own parameter (see section FTP)


== Operation ==
== Operation ==
Line 12: Line 14:
This gives the possibility to run CumulusUtils many times per day and if you find a problem later in one of the major runs at midnight, you still have that log. Logs will be kept for 2 days, giving you enough time to save the log you want to save.  
This gives the possibility to run CumulusUtils many times per day and if you find a problem later in one of the major runs at midnight, you still have that log. Logs will be kept for 2 days, giving you enough time to save the log you want to save.  


For the FTP uploads there is a logfile named: ''yyMMddHHmmFTPlog.txt''. Activation of the FTP logging can be switched on or off (the standard logging cannot).
For the FTP uploads there is a logfile named: ''yyMMddHHmmFTPlog.txt''. Activation of the FTP logging can be switched on or off independently.


== Inifile parameters ==
== Inifile parameters ==
Line 18: Line 20:


   Section [General]
   Section [General]
   LoggingOn=true | false                                 (default: true)
   LoggingOn=true | false                                     (default: true)
   NormalMessageToConsole= true | false                   (default: true)
   NormalMessageToConsole= true | false                       (default: true)
   TraceInfoLevel= Error | Warning | Info | Verbose       (default: Info)
   TraceInfoLevel= Error | Warning | Info | Verbose | Off      (default: Info)


   Section [FTP site]
   Section [FTP site]

Latest revision as of 14:56, 29 March 2022

Introduction

In case of problems there exists a Cumulusutils logfile where you can check for yourself or ask on the forum for help with the log file as attachment.
By default logging is on but it can be switched off by setting the parameter LoggingOn (section General) to false (see below in the parameter section).
Independent of the logfile is the console logging which is governed by the parameter NormalMessageToConsole. Ftp logging is also independent and can be switched on/off by its own parameter (see section FTP)

Operation

Logging requires no special commands or operation. For the configuration, see the Inifile parameters.

Output

All logfiles are to be found in the directory utils/utilslog/ - which is automatically created if it does not exist - and they will have the name like: yyMMddHHmmcumulusutils.log which sorts easily alphabetically. That would be e.g. 2005271332cumulusutils.log.

This gives the possibility to run CumulusUtils many times per day and if you find a problem later in one of the major runs at midnight, you still have that log. Logs will be kept for 2 days, giving you enough time to save the log you want to save.

For the FTP uploads there is a logfile named: yyMMddHHmmFTPlog.txt. Activation of the FTP logging can be switched on or off independently.

Inifile parameters

Errorlogging is governed by the following parameters:

 Section [General]
 LoggingOn=true | false                                      (default: true)
 NormalMessageToConsole= true | false                        (default: true)
 TraceInfoLevel= Error | Warning | Info | Verbose | Off      (default: Info)
 Section [FTP site]
 FtpLog=off                                             (default: off)