-
Notifications
You must be signed in to change notification settings - Fork 89
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
[EPIC] Log formatting improvement #2277
Comments
@MelReyCG can you prepare a 15-min simple presentation before you code in a branch of what you think the log should look like? It will be easier for us to help you and give you advice. |
Sure, I will do this presentation when I will have a more precise definition of the log format desired by the users. |
Chat back with @jeannepellerin about this 😉 |
Any suggestion @paveltomin @CusiniM @castelletto1 @klevzoff ? |
Good initiative! |
If I can chime in, it is important for logs to be human-readable, but we should also make machine-parsing (with Python, for instance) as straightforward as possible. |
Yes, this is very true. We can do anything we want on the log as long as there's another source of information aside that is meant to be parsed. |
This is a nice initiative. If I may chime in as well, one option that makes parsing with Python easier and it is still human readable is Markdown, e.g.:
|
I can see 3 strategies that could solve this need for machine & human readability :
I will prepare a presentation with more insight on what I planned, so we will be able to talk about the strategy to implement. @victorapm
|
What is the requested feature?
The log is hard to read by the users in our production environnement. So, in order to improve GEOS usability, we need to improve the log formatting.
Is your request related to a specific problem?
logLevel
practices are not uniformized nor documented,Describe the solution you'd like
LogLevel
, it should be anenum
with clear and documented labels (see below or in issue #3014,globalLogLevel
at the<Problem>
level to control general log lines (which cannot be controlled at the moment),SourceFlux
statistics, #3011std::cout
in the code,Wrapper
documentation (Wrapper::appendDescription()
), #3179Refactored log output exemple :
LogLevel
enum proposal :Internal message data (feel free to suggest more !) :
Describe alternatives you've considered
Another solution would be to write another log for the users (and the current one would be intended for developpers).
The text was updated successfully, but these errors were encountered: