Tyk v2.2 Documentation Components

  1. Home
  2. Tyk v2.2 Documentation Components
  3. Logging

Logging

Tyk will log its output to stderr and stdout. In a typical installation, these will be handled or redirected by the service manager running the process, and depending on the Linux distribution, will either be output to /var/log/ or /var/log/upstart.

Log data is usually of the Error level and higher, though you can enable Debug mode reporting by adding the --debug flag to the process run command

Warning: Debug mode logging generates a lot of output and is not recommended.

Tyk will try to output structured logs, and so will include context data around request errors where possible.