forked from borgmatic-collective/borgmatic
pre/post task output is logged twice #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: palto42/borgmatic#4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Example logs at verbosity=0 from pre/post tasks using
curl
command to trigger an action via a web interface which returns a simple message like "Power on port 4" as a result.This seems to happen because the logger has both console and syslog handlers:
Not fully clear why, but it seems that the console handler is required to get some of the logging into the syslog.
the solution is to redirect the 'stdout' in the systemd service configuration to
null
or redirect it into a file. See systemd configExample:
Alternatively the console log level can be lowered to suppress console output into the syslog.