Difference between revisions of "OS4X logging"

From OS4X
Jump to navigation Jump to search
(New page: == Logging mechanisms == Different technologies are used for logging differnt communication situations. These are differented in the following topics. === OS4Xapi logging === The communic...)
 
Line 13: Line 13:
 
  os4xapi.log.3
 
  os4xapi.log.3
 
  os4xapi.log.4
 
  os4xapi.log.4
 +
 +
=== Daemon logging ===
 +
When external communication is being involved for logging, the OS4X debug daemon collects all information of all running programs and saves them into a ring buffer. This means, that older log entries are eliminated by newer log entries, the more activity is being logged, the less is the timeframe for the actual memory content. In order to analyze special situations, it may be interesting to collect all information.
 +
 +
The position where the OS4X debug daemon writes its logfiles is dependant on the OS4X's configured temporary directory. Configuration options for the daemons are:
 +
*[[OS4X_Core_configuration#temporary_directory|Temporary directory]] ("Configuration" -> "Directories" -> "Temporary directory")
 +
*[[OS4X_Core_configuration#Enable_continuous_write_of_OS4X_debug_daemon_output.3F|Enable continuous write of OS4X debug daemon output?]] ("Configuration" -> "Logging" -> "Enable continuous write of OS4X debug daemon output? ")

Revision as of 14:56, 4 June 2013

Logging mechanisms

Different technologies are used for logging differnt communication situations. These are differented in the following topics.

OS4Xapi logging

The communication between the web interface (and the native administrative application) and the PHP backend is logged in the OS4Xapi logfile. The following parameters are configurable:

The default position of the logfile is:

/opt/os4x/tmp/os4xapi.log

The logfile writer creates up to 6 files with a maximum filesize of 10MB, the actually used logfile is the configured one. Older logfiles have number suffixes like:

os4xapi.log.1
os4xapi.log.2
os4xapi.log.3
os4xapi.log.4

Daemon logging

When external communication is being involved for logging, the OS4X debug daemon collects all information of all running programs and saves them into a ring buffer. This means, that older log entries are eliminated by newer log entries, the more activity is being logged, the less is the timeframe for the actual memory content. In order to analyze special situations, it may be interesting to collect all information.

The position where the OS4X debug daemon writes its logfiles is dependant on the OS4X's configured temporary directory. Configuration options for the daemons are: