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 levelsINFO
: Prints outINFO
,WARN
andERROR
levelsWARN
: Prints outWARN
andERROR
levelsERROR
Prints outERROR
levelsNONE
: No logs output
- With Docker
- Without Docker
docker run \
-p 3567:3567 \
-e LOG_LEVEL=DEBUG \
-d registry.supertokens.io/supertokens/supertokens-<db_name>
# You need to add the following to the config.yaml file.
# The file path can be found by running the "supertokens --help" command
log_level: "DEBUG"