diff options
-rw-r--r-- | firehose_call.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firehose_call.py b/firehose_call.py index 2704ed5..5dc4de4 100644 --- a/firehose_call.py +++ b/firehose_call.py @@ -15,13 +15,13 @@ def log(msg): dt = str(datetime.datetime.now()).split('.')[0] log_file.write("[%s] Firehose Trigger: %s\n" % (dt, msg)) -def firehose_cmd(config,loglevel='debug',log='/dev/stdout'): +def firehose_cmd(config,loglevel='debug',_log='/dev/stdout'): ''' take list of firehose configs filename and return a firehose command with that config ''' cmd = [ "./firehose.sh", "--log-level=%s" % loglevel, - "--log=%s" % log, + "--log=%s" % _log, ] + config log(cmd) return cmd |