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

Add hostname to logged lines and email subject. #18

Merged
merged 2 commits into from
Jan 29, 2022

Conversation

Danoontjes
Copy link

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