Write to syslog as well

This commit is contained in:
mike 2020-01-02 18:06:09 -08:00
parent 0e4a09ae13
commit da4c0671e1

View File

@ -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):