diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-10 16:10:49 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-10 16:10:49 +0100 |
commit | 1c6b920b528ad48b6b5c63a01810ba0586cb6f7d (patch) | |
tree | 5ffbf260156a10cf96fe12e73ad9041a8d8aca2b /builder_logic.py | |
parent | cd3d87dc61e5ed5c131c394954f870031e958fe5 (diff) | |
download | buildslave-scripts-1c6b920b528ad48b6b5c63a01810ba0586cb6f7d.tar.gz |
Fix log not working
Diffstat (limited to 'builder_logic.py')
-rw-r--r-- | builder_logic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builder_logic.py b/builder_logic.py index 52ececb..65576d2 100644 --- a/builder_logic.py +++ b/builder_logic.py @@ -15,6 +15,10 @@ whitelist = [ 'strata/bsp-x86_64-generic.morph', ] +LOGFILE = '/home/williamholland/orchestration/trigger_log' + +log_file = open(LOGFILE,'a') + def log(msg): ''' write message to log file with timestamp and script name ''' import datetime |