Errorlogging

From Cumulus Wiki
Revision as of 14:56, 29 March 2022 by HansR (talk | contribs) (→‎Introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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)