Errorlogging

From Cumulus Wiki
Revision as of 12:19, 9 April 2021 by HansR (talk | contribs) (Initial edit)
(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.

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. This file has to be configured separately.

Inifile parameters

Errorlogging is governed by the following parameters:

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