-
Notifications
You must be signed in to change notification settings - Fork 593
Add SLF4JBridgeHandler #3809
Add SLF4JBridgeHandler #3809
Conversation
heron/downloaders/src/java/org/apache/heron/downloader/DownloadRunner.java
Outdated
Show resolved
Hide resolved
https://app.travis-ci.com/github/apache/incubator-heron/builds/248849844
|
I've restarted the build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thank you!
I have restarted the build to see if the build errors are transient. I do not see a reason why updates/changes to logging should cause test failures. |
Something is causing the creation of large files in this PR. Since this PR is making changes to the logger I am wondering if the log files are getting too large. The actual production code seems to be fine but there may need to be changes in the log output or log file size. OSError: [Errno 28] No space left on device I do not believe this is a build artifact size related issue because I think that would have triggered earlier after build completion. |
I have tried to rerun the pipeline three times to see if there was a load issue causing this with Travis CI but they fail in roughly the same place. There is an issue on SO that suggests this occurs with Python3 and could be due to either a lack of disk space in |
Nice ^________^; |
Just one final concern/question: Can the log file size/count affect production systems, and if so, how might we mitigate the issue now? |
As expected, it seems that it is normal to have less than before. The definition in logback.xml is INFO Level, so some contents should be reduced.
|
When I test, the log file is not large. |
@nicknezis requested more reviews so I have not merged the PR. I think everything is in order. Edit: The reason I was looking at the log file size or count was based on the context of the PR and the Python3 error. |
JavaUtilLogging to SLF4JBridgeHandler