Logging date
This commit is contained in:
parent
3ae47c70d6
commit
5111699683
|
@ -36,7 +36,8 @@ def antbkp(configuration):
|
|||
options['smtp'] = smtp
|
||||
options['log'] = results['global']['log']
|
||||
|
||||
logging.basicConfig(filename=options.get('log'), level=logging.INFO)
|
||||
logging.basicConfig(format='%(asctime)s %(message)s',
|
||||
filename=options.get('log'), level=logging.INFO)
|
||||
|
||||
backdir = options.get('backdir')
|
||||
if not os.path.exists(backdir):
|
||||
|
|
Loading…
Reference in New Issue