From 47eefe5fafc70dbc585e63a2bf03932d2e7c2759 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sat, 3 Nov 2018 22:40:53 -0700 Subject: add units, change some paths --- restic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'restic.py') diff --git a/restic.py b/restic.py index 8033103..daf4c40 100644 --- a/restic.py +++ b/restic.py @@ -24,7 +24,7 @@ LOGLEVELS = {'DEBUG': logging.DEBUG, 'WARNING': logging.WARNING, 'ERROR': logging.ERROR} # TODO should be a configurable location -logging.basicConfig(filename='restic.log', +logging.basicConfig(filename='~/.local/logs/restic.log', level=LOGLEVELS[os.getenv('RESTIC_LOGLEVEL', 'WARNING')]) log = logging.getLogger(__name__) # cmd line parser -- cgit v1.2.3