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

Start using syslog identifier #2569

Merged

Conversation

portante
Copy link
Member

@portante portante commented Dec 3, 2021

No description provided.

@portante portante added this to the v0.69.10 milestone Dec 3, 2021
@portante portante self-assigned this Dec 3, 2021
@portante portante added this to In progress in Sprint 006 via automation Dec 3, 2021
@portante portante added this to In progress in v0.69.10 via automation Dec 3, 2021
@portante portante added this to In progress in Server via automation Dec 3, 2021
This makes journalctl entries go from looking like (notice the plain
"journal" string that formats because the identifier is missing):

   Dec 03 02:43:02 srv.example.com journal[1402211]: WARNING 1402211 \
   140429661997952 pbench-backup-tarballs.pbench-backup-tarballs \
   sanity_check 132 -- Bucket not defined in config file - S3 backup \
   is disabled.

To (each pbench command being run shows up):

   Dec 03 02:43:02 srv.example.com pbench-backup-tarballs[1402211]: \
   WARNING 1402211 140429661997952 \
   pbench-backup-tarballs.pbench-backup-tarballs \
   sanity_check 132 -- Bucket not defined in config file - S3 backup \
   is disabled.

And one can use the journalctl `--identifier` switch to filter as well:

   journalctl -f --identifier=pbench-unpack-tarballs-small
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Server automation moved this from In progress to Reviewer approved Dec 3, 2021
v0.69.10 automation moved this from In progress to Reviewer approved Dec 3, 2021
Sprint 006 automation moved this from In progress to Reviewer approved Dec 3, 2021
@portante portante merged commit ab69f79 into distributed-system-analysis:b0.69 Dec 3, 2021
Server automation moved this from Reviewer approved to Done Dec 3, 2021
v0.69.10 automation moved this from Reviewer approved to Done Dec 3, 2021
Sprint 006 automation moved this from Reviewer approved to Done Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Server
  
Done
Sprint 006
  
Done
v0.69.10
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants