Skip to content

Logging fixes#640

Merged
mjkozicki merged 2 commits intocatchpoint:masterfrom
HTTPArchive:logging
Sep 27, 2023
Merged

Logging fixes#640
mjkozicki merged 2 commits intocatchpoint:masterfrom
HTTPArchive:logging

Conversation

@pmeenan
Copy link
Copy Markdown
Contributor

@pmeenan pmeenan commented Sep 26, 2023

This changes the rfc5424 logging to only be imported when that mode of logging is being used and also adds an (optional) requirement for the tzlocal module which is required by the rfc5424 logging code.

This way the agents that are already deployed should install the module if it's not already on the systems.

Without these changes, the agents are likely to stop working as soon as they update unless tzlocal is installed on them (not part of the default install script).

@pmeenan
Copy link
Copy Markdown
Contributor Author

pmeenan commented Sep 27, 2023

Thanks. Added pytz to the module installs and also updated the in-agent install script. It was a little less critical because it was pre-installed on the ubuntu images I was using but better safe than sorry.

Copy link
Copy Markdown
Contributor

@FedericoMulas FedericoMulas left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Contributor

@mjkozicki mjkozicki left a comment

Choose a reason for hiding this comment

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

LGTM

@pmeenan
Copy link
Copy Markdown
Contributor Author

pmeenan commented Sep 27, 2023

@mjkozicki could you merge when you get a chance (I'm not authorized for the agent - which I'm good with keeping that way)

@mjkozicki mjkozicki merged commit 465638a into catchpoint:master Sep 27, 2023
@pmeenan pmeenan deleted the logging branch November 8, 2023 18:34
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.

3 participants