5 Further information for initial operation
© 2022 Interflex Datensysteme GmbH | IF-5835 Time Recording Terminal | 07.22
18
For a controller with the serial number 123456, the log files have the following names:
n
cloudreadyd-123456.log
n
service-app-mgr-123456.log
The maximum size of the log files is 5 MB. If the file size is reached:
n
The current log file is renamed:
<service-name>-<controller-hostname>.<Number of backup>.log
n
New log file with the original name is created. This log file is written to.
The higher the number in the backup’s file name, the older the backup. If the maximum number of
10 backups has been reached and the active log file has attained a size of 5 MB, the oldest backup
is deleted.
The directory looks like this then:
cloudreadyd-123456.log
--> active log file
cloudreadyd-123456.1.log
--> previous log file
...
cloudreadyd-123456.10.log
--> oldest log file
Thus, the maximum 11 log files use up a maximum of 55 MB of storage.
script
showlog
The
showlog
script lists log files of the CloudReady controller. The
showlog -?
and
showlog -h
commands show the script options:
-a Show the complete logfile (if -f is set the -n parameter cannot be used)
-l List all existing logfiles
-v [INTEGER] Open desired logfile number/version
-s Show logging for the service-app-mgr (default is cloudreadyd)
-n [INTEGER] Number of log entries to show with the -f option (default = 400 entries)
-f Show end of logfile and follow the output
-?, -h Print this help screen
If the -l parameter is used, all other parameters are ignored.
Examples
Command
Result
showlog -n xx
Shows last xx entries of the
cloudreadyd
service
showlog -s -n xx
Shows last xx entries of the
service-app-mgr
service
Open a specific log file
showlog -v xx
Opens the xx-th backup of the
cloudreadyd
service
showlog -s -v xx
Opens the xx-th backup of the
service-app-mgr
service