Skip to content

PluginLogging

Armin Burgmeier edited this page Aug 9, 2014 · 1 revision

The logging plugin

The logging plugin writes messages into the server log when certain events occur. See the list of plugin options for what these events are.

Plugin options

  • log-connections (opt): When set to true, write a log message whenever a user connects or disconnects from the server. The default value of this option is true.
  • log-connection-errors (opt): When set to true, write a log message when an error happens with a client connection, such as a connection reset. Usually connection errors lead to disconnection of the client. The default value of this option is true.
  • log-session-errors (opt): When set to true, a log message is written when a session cannot process a client request, typically caused by invalid client requests. This usually leads to an inconsistent session state between the server and the client. This option can be very helpful when testing (parts of) an implementation of the infinote protocol. The default value of this option is true.
  • log-session-request-extra (opt): When set to true, an additional line is written into the log when a log message occurs during transformation of an adOPTed request. This option can be very helpful when testing (parts of) an implementation of the infinote protocol. The default value of this option is true.

Example

[logging]
log-connections=true
log-connection-errors=true
log-session-errors=false
log-session-request-extra=false

Write a message into the server log whenever a client connects or disconnects from the server, and when an error has been detected with a client connection.

Other Plugins

Back to the list of infinoted plugins.