Logging in InformixHQ

This topic provides a brief tutorial on logging in InformixHQ.

The InformixHQ server and agent use the logback library for logging. By default, the InformixHQ server and agent will log messages at INFO level to an informixhq-server.log file and an informixhq-agent.log file respectively.

You can customize the logging behavior by providing a server-logback.xml file in the current directory or classpath when starting the InformixHQ server or a agent-logback.xml file in the current directory or classpath when starting the InformixHQ agent. Use these logback configuration files to change the logging level (ERROR, WARN, INFO, or DEBUG), change the log file location, or enable rolling window logging. For more information, see the logback documentation.

Sample logback configuration files are provided in $INFOMRIXDIR/hq/server-logback.xml and $INFORMIXDIR/hq/agent-logback.xml.


Copyright© 2021 HCL Technologies Limited