Logging
Logging
Itsi has a very configurable logging system. You can configure logging use the Itsi.rb
configuration file, environment variables or a combination of both.
Basics
For basic logging needs, set a global log-level using the ITSI_LOG
environment variable (to one of trace
, debug
, info
, warn
, error
)
Fine-grained control
Itsi supports fine-grained config-based control of logging behavior, which can be changed at runtime without downtime. To utilize these functions, read the documentation for the following options and middleware: