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

Json logging (EXPERIMENTAL) #1238

Merged
merged 3 commits into from
Oct 7, 2024
Merged

Json logging (EXPERIMENTAL) #1238

merged 3 commits into from
Oct 7, 2024

Conversation

petersilva
Copy link
Contributor

See #716

This option adds a flag to enable json formatted logging.

It has been requested by several people. but the problem was that
some of the text stuff currently being logged isn't log messages, just random
stdout of subprocesses (e.g. scp, wget) which will give a json parser fits.

So just made a second log file (with .json suffix) and tools that prefer that
can ingest that. the txt log remains... so it logs twices as much.

experimental enabling of json formatted logging.

Does this make any sense?

Copy link

github-actions bot commented Sep 27, 2024

Test Results

249 tests   246 ✅  1m 34s ⏱️
  1 suites    1 💤
  1 files      2 ❌

For more details on these failures, see this check.

Results for commit d4efdd7.

♻️ This comment has been updated with latest results.

@petersilva petersilva marked this pull request as ready for review September 27, 2024 16:11
@petersilva
Copy link
Contributor Author

purpose of this experimental feature is to let people kick the tires. it is documented as EXPERIMENTAL ... meaning we may remove it in a future release, or it could change... it is just to people to comment on for now.

@petersilva petersilva merged commit b797272 into development Oct 7, 2024
3 of 5 checks passed
@petersilva petersilva deleted the json_logging branch October 7, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants