Skip to main content

Logging

The core generates extensive logs with the following levels:

  • DEBUG
  • INFO
  • WARN
  • ERROR

By default, the core will print out INFO, WARN and ERROR logs.

If you want to change the log levels, you can set the core's log_level config to reflect this:

  • DEBUG: Prints out all the log levels
  • INFO: Prints out INFO, WARN and ERROR levels
  • WARN: Prints out WARN and ERROR levels
  • ERROR Prints out ERROR levels
  • NONE: No logs output
 docker run \
-p 3567:3567 \
-e LOG_LEVEL=DEBUG \
-d registry.supertokens.io/supertokens/supertokens-<db_name>
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react