Logging#

The main way to set up logging in onetick-py is otp.config.logging parameter.

This parameter can be set to severity level string or path to the file with configuration. Default value for this parameter is WARNING.

In case logging level is specified, the logging system is set up to print log to the standard error stream (stderr).

In case the path to the configuration file is specified, the logging system is initialized with configuration provided in this file.

There are two formats supported: