Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running in docker container should output logs to stdout/stderr #1650

Open
dincho opened this issue Dec 18, 2023 · 2 comments
Open

Running in docker container should output logs to stdout/stderr #1650

dincho opened this issue Dec 18, 2023 · 2 comments
Assignees

Comments

@dincho
Copy link
Member

dincho commented Dec 18, 2023

No description provided.

@yaboiishere
Copy link
Contributor

From what i see logging to console has been disabled manually in all environments, do you need this to work for all or just prod and maybe staging? I think enabling it in dev would not be a good idea since it will make seeing your own logs while debugging harder.

@dincho
Copy link
Member Author

dincho commented Mar 18, 2024

It should be a configuration option/runtime configuration. The source code should not be aware of runtime "environments" at all. However, build environments are OK and one can configure "dev" and "prod", where always prod is deployed and dev is used for development.

yaboiishere added a commit that referenced this issue Mar 18, 2024
Added ENABLE_CONSOLE_LOG environment variable to allow logging to
console. ref: #1650
yaboiishere added a commit that referenced this issue Mar 19, 2024
Added ENABLE_CONSOLE_LOG environment variable to allow logging to
console. ref: #1650
yaboiishere added a commit that referenced this issue Mar 19, 2024
Added ENABLE_CONSOLE_LOG environment variable to allow logging to
console. ref: #1650
sborrazas pushed a commit that referenced this issue Mar 28, 2024
Added ENABLE_CONSOLE_LOG environment variable to allow logging to
console. ref: #1650
@yaboiishere yaboiishere self-assigned this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants