https://supertokens.com/ logo
#support-questions
Title
# support-questions
c

Catten Kleo

06/10/2022, 7:06 AM
Hey, I just launched the core part in a docker container with docker-compose and I am wondering if there is a way to reduce the amount of logging to console? I have found this link that redirected me here: https://supertokens.com/docs/passwordless/common-customizations/core/logging
r

rp

06/10/2022, 7:12 AM
hey @Catten Kleo
There is no way to reduce the console output. What you can do is to provide a config file path in the env var of the docker container which will make it log in that file instead of console.
c

Catten Kleo

06/10/2022, 7:16 AM
Thanks for quick anwer! That sounds like a good approch. Could you give an example for how that env var would look. The closest I could find was from here: https://supertokens.com/docs/passwordless/troubleshooting/how-to-troubleshoot
r

rp

06/10/2022, 7:18 AM
You can add an
INFO_LOG_PATH
and
ERROR_LOG_PATH
env var which can point to a file in the docker container
c

Catten Kleo

06/10/2022, 7:19 AM
Cheers! Found the list here 🙂 https://github.com/supertokens/supertokens-docker-postgresql Have a good day. And thanks once again!
2 Views