User Tools

Site Tools


Plugin installed incorrectly. Rename plugin directory 'swiftmail.backup' to 'swiftmail'.
This translation is older than the original page and might be outdated. See what has changed.
en:software:tim:logs

General

Logs are (text-) files that report the activities of the system. For example a report can be made when an error has occurred and why. This is particularly important for the technical support. If support is contacted because of an error, the source of the error can be found and eliminated.

Storage location of the logs

The Logs are located within the JBoss directory :

...\server\default\log

Here, there are different Logs, depending on the configuration of the server:

  • server.log : Here, all processes of the server incl. all errors that may have occurred are stored
  • mail.log : Here, all processes that affect the delivery of mails incl. errors that may have occurred are stored
  • error.log : Here, only errors that occurred are logged

Configuration possibilities

It is possible to make some configurations according to the logs. This includes a list of which logs have to be created, the maximum size of a log file and how many log files can be created. If one of these values is exceeded, the oldest entries are deleted to make room for new. Adjustments can be made in the following file:

.../server/default/conf/jboss-log4j.xml

The configuration can be customized per log.

Change the maximum size of a file

To restrict the maximum size of one of the log files, search for the following line in the file:

<param name="MaxFileSize" value="5000KB"/>

The value parameter can be used to determine the maximum size (in KB) of the file.

Change the maximum number of files

If a Log reaches the maximum size, a new file is created in which the log is continued. Changing the parameter can thus be used to control how many files are created before older files are deleted. To specify the maximum number of files, search for the following line:

<param name="MaxBackupIndex" value="20"/>

The value parameter determines the maximum number of files that can be created.

en/software/tim/logs.txt · Last modified: 2021/07/01 09:52 (external edit)