From fe136533e9fcd25d1ad9b254e807b116fe4e2615 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Fri, 10 Feb 2017 11:14:55 -0600 Subject: Support logging to a logfile --- settings.cfg.example | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'settings.cfg.example') diff --git a/settings.cfg.example b/settings.cfg.example index cd99db9..19b60d3 100755 --- a/settings.cfg.example +++ b/settings.cfg.example @@ -1,21 +1,22 @@ -[general] -servername=uniqueservername -alertcontact=youremail@example.com -statefile=/fully/qualified/path/jobrunhistory.db - -[email] -nomail=False -user=agmailaccountyoucreate@gmail.com -pass=yourpassword -smtpserver=smtp.gmail.com -smtpport=587 -imapserver=imap.gmail.com -#I create a filter that automatically deletes my sent messages. -# This way, anyone who hacks the account only sees the last 30 days of messages I've sent -ideletesentmessagesautomatically=True -#If set, append a random number to prevent gmail threading -bustgmailthreading=False - -[peers] -peer1=http://someserver.com:5000,admin@someserverbackup.com +[general] +servername=uniqueservername +alertcontact=youremail@example.com +logfile=/fully/qualified/path/logfile.log +statefile=/fully/qualified/path/jobrunhistory.db + +[email] +nomail=False +user=agmailaccountyoucreate@gmail.com +pass=yourpassword +smtpserver=smtp.gmail.com +smtpport=587 +imapserver=imap.gmail.com +#I create a filter that automatically deletes my sent messages. +# This way, anyone who hacks the account only sees the last 30 days of messages I've sent +ideletesentmessagesautomatically=True +#If set, append a random number to prevent gmail threading +bustgmailthreading=False + +[peers] +peer1=http://someserver.com:5000,admin@someserverbackup.com peer2=http://someotherserver.com:5000,admin@someotherserver.com \ No newline at end of file -- cgit v1.2.3