Write to syslog as well
This commit is contained in:
parent
0e4a09ae13
commit
da4c0671e1
@ -16,6 +16,7 @@ import datetime
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import syslog
|
||||
import yaml
|
||||
|
||||
|
||||
@ -59,6 +60,8 @@ class BackupRotator:
|
||||
if o is not None:
|
||||
to_log += " " + str(o)
|
||||
|
||||
syslog.syslog(to_log)
|
||||
|
||||
print(to_log)
|
||||
|
||||
def consume_arguments(self):
|
||||
|
Loading…
Reference in New Issue
Block a user