Skip to content

Add hostname to logged lines and email subject. - #18

Merged
rouben merged 2 commits into
rouben:contribfrom
Danoontjes:logging
Jan 29, 2022
Merged

rouben merged 2 commits into
rouben:contribfrom
Danoontjes:logging

Conversation

@Danoontjes

Copy link
Copy Markdown

HI,

This commit adds the hostname to the log output and email subject.

I have multiple machines that are monitored with zfswatcher, and I have enabled email notification so I am informed when something goes wrong. The problem is that it is not immediately clear what host sent the mail, since only the pool name is logged.

Regards,
Martin Balvers

@rouben
rouben changed the base branch from master to contrib January 29, 2022 05:04
@rouben
rouben merged commit 3a559ae into rouben:contrib Jan 29, 2022
@Danoontjes
Danoontjes deleted the logging branch February 1, 2022 09:58
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

⌂ 换网址