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

Logging to stderr causes issues in code that monitors stderr for at least one warning log message #1976

Open
kentdlee opened this issue Mar 23, 2024 · 1 comment

Comments

@kentdlee
Copy link

Typically this is not a problem, but specifically for a log message in the kj library there is a log message that was generated when running inside a docker container or in some CICD pipelines. In the source file filesystem-disk-unix.c++ the log message

KJ_LOG(WARNING, "PWD environment variable doesn't match current directory", pwd);

is the culprit. It was suggested that changing the level of that log message to INFO would be acceptable and would alleviate the problem since INFO level messages are not logged by default.

@kentdlee
Copy link
Author

I will make the change for this issue and put up a PR.

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

1 participant