Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemtests: add the operator and mail destination to messages test
- add the destinations to the messages resource - reword the test string
- Loading branch information
Showing
3 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 10 additions & 6 deletions
16
systemtests/tests/messages-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
Messages { | ||
Name = Standard | ||
Description = "Reasonable message delivery -- send most everything to email address and to the console." | ||
console = all | ||
append = "@logdir@/bareos.log" = all, !skipped, !saved, !audit | ||
catalog = all, !skipped, !saved, !audit | ||
syslog = all | ||
stdout = all | ||
stderr = all | ||
Console = all | ||
Append = "@logdir@/append" = all | ||
Catalog = all | ||
Syslog = all | ||
Stdout = all | ||
Stderr = all | ||
Mail Command = "/bin/bash -c \"cat - > @logdir@/mail\"" | ||
Mail = no-mail = all | ||
Operator Command = "/bin/bash -c \"cat - > @logdir@/operator\"" | ||
Operator = no-operator = all | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters