InTime Server

How to enable a single logfile for InTime Server

9004 views November 29, 2022 November 30, 2022 pohheng 0

Introduction:

By default, logfiles for InTime Server are backed up as <InTime Server installation directory>/logs/intimeserver.<yyyy-MM-dd>.log.
Daily backups of the latest logfile, intimeserver.log, are made every midnight at 00:00:00 hrs and a new intimeserver.log is then created.

However, some users may prefer to keep just a single logfile at all times or limit the size of log file.

Resolution #1:

For single logfile configuration.

$ cd <InTime Server installation>
$ ./start_server.sh -stop
$ cd conf
$ cp logback.xml.single logback.xml
$ cd ..
$ ./start_server.sh 

Resolution #2:

For fixed log file (50MB) configuration, the log file gets rotated once 50MB has reached. The rotated log files will be zipped up to reduce the file size, and a maximum of latest 4 zip files are kept.

$ cd <InTime Server installation>
$ ./start_server.sh -stop
$ cd conf
$ cp logback.xml.fixeddisk logback.xml
$ cd ..
$ ./start_server.sh

Resolution #3:

To use default configuration which rotate the log files daily.

$ cd <InTime Server installation>
$ ./start_server.sh -stop
$ cd conf
$ cp logback.xml.rotate logback.xml
$ cd ..
$ ./start_server.sh

Applies to:

  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 202211291 - Last Review: Nov 29 2022 - Revision: 1.0