-
Notifications
You must be signed in to change notification settings - Fork 1
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
Standard logging #232
Standard logging #232
Conversation
- it's bad practice to enforce IO in the code, rather than by configuration
IOFileFilter filter = new SuffixFileFilter(".log"); | ||
Collection<File> logs = DiCore.getGlobalInjector().getInstance(IFileAccess.class).getLogFiles(filter); |
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.
this is the reason why I'd like to drop that adventurous logging feature.
It uses our internal IFileAccess ... which would force use to maintain a master+release/10 branch.
I see no benefit in this strict IO enforcing code ... rather logging to an extra file should be solved with an optional appender.
} | ||
} | ||
} | ||
|
||
public DocFactoryLogDirectoryRetriever getLogDirectoryRetriever() { |
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.
In theory we're dropping accessible API. I assume that it is not worth to keep it with an empty implementation.
09f3b2e
to
ba860ed
Compare
ba860ed
to
8a9eddd
Compare
No description provided.