-
Notifications
You must be signed in to change notification settings - Fork 5
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
Store logs to a file #23
Comments
Related to this, it would be better to not log execution commands that can contain encoded variables, for example:
Ideally this should only be logged when |
To log to a file causes this error when building the GraalVM static image: micronaut-projects/micronaut-core#3683 It seems that there is a workaround that may be valid for our use case. Even though, I'm moving this issue to the next Agent release v0.5 because this requires further testing. The part of removing sensitive data it is implemented on v0.4 |
Try with log4j 😄 |
however the most important thing here is to make it less verbose. can you at least not dump executed command and result to console, maybe just changing |
I'm doing this part. See #32 |
Being an application meant to be executed in the background, it would make sense to redirect application logs to a file
.tw-agent.log
and render to console only logs with level >= INFO.The text was updated successfully, but these errors were encountered: