Errorlogging: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
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).


== Operation ==
== Operation ==

Revision as of 10:36, 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).

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 (the standard logging cannot).

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       (default: Info)
 Section [FTP site]
 FtpLog=off                                             (default: off)