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

Overhauling the EasyBuild logging #1796

Open
ocaisa opened this issue Jun 8, 2016 · 4 comments
Open

Overhauling the EasyBuild logging #1796

ocaisa opened this issue Jun 8, 2016 · 4 comments
Milestone

Comments

@ocaisa
Copy link
Member

ocaisa commented Jun 8, 2016

If we were considering overhauling the logging of EB anyway, it might be interesting to consider yaml output for EB logging. This approach is used, for example, by BigDFT.

This would potentially allow us to use log files as input to allow reproduction of bugs, and also facilitate post-processing of log files (different views:minimal, detailed, debug,...).

BigDFT have tips for how to still allow the output to be human readable and grep-able and said they'd be happy to share them

@boegel boegel modified the milestone: 3.x May 2, 2017
@boegel boegel modified the milestones: 3.x, 4.x Feb 20, 2020
@verdurin
Copy link
Member

verdurin commented Mar 1, 2023

This came up again in the Maintainer Summit, March 2023.

@smoors may be able to share the Vim syntax colouring setup he created, for easier navigation.

@branfosj
Copy link
Member

branfosj commented Mar 1, 2023

I started on #4001, but it was unclear on to how to correctly add that to the code.

@boegel boegel modified the milestones: 4.x, 5.0 Mar 1, 2023
@smoors
Copy link
Contributor

smoors commented Mar 3, 2023

here is my vim syntax file for inspiration
can certainly be improved upon
https://gist.github.com/smoors/0b4012a1109acbc6edb8e41852eff648

@terjekv
Copy link
Contributor

terjekv commented May 20, 2023

Is there a reason to use YAML over JSON for logging? https://www.structlog.org/en/stable/ is very nice to work with, and integrates very smoothly into python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Nice-to-have
Development

No branches or pull requests

6 participants