VISULOX 4 Documentation

How to increase the log level

VISULOX has several log levels:

error

In a production environment, the log level is set to error and should only be changed by the support

warning

Also displays warnings

info

Also displays info entries

debug

Displays all available information

The log level is a general parameter for the whole cluster and for all programs.


visulox config edit -name logger.level=debug


Some commands can be started with an explicit log level:

<command> -log debug ...


Enabling logging in a running production environment for a service:

/opt/visulox/bin/cmd/msg.tcl -to <service> -command LOGLEVEL -loglevel debug

It is also possible to reset the loglevel after a period of time automatically:

/opt/visulox/bin/cmd/msg.tcl -to <service> -command LOGLEVEL -loglevel debug -resetafter "1 hour"

Possible values:

  • -resetafter "60 seconds"

  • -resetafter "1 minute"

  • -resetafter "2 hours 30 minutes"


Always remember to set the log level back to error after debugging (if resetafter is not set).

Configuration parameters set while the node is offline will only be applied to the local node.
If a parameter should be changed for the whole cluster, the parameter has to be set again once the node is online again.