Hey, I just launched the core part in a docker con...
# support-questions
c
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
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
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
You can add an
INFO_LOG_PATH
and
ERROR_LOG_PATH
env var which can point to a file in the docker container
c
Cheers! Found the list here 🙂 https://github.com/supertokens/supertokens-docker-postgresql Have a good day. And thanks once again!
2 Views