Browse Source

Write to syslog as well

dev
mike 9 months ago
parent
commit
da4c0671e1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      BackupRotator.py

+ 3
- 0
BackupRotator.py 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):


Loading…
Cancel
Save