From 8cd1df882f6afddeb966989ef39e1761eff0328c Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Mon, 19 Sep 2016 11:15:14 +0400 Subject: [PATCH] Fix #268 --- cowrie/output/jsonlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowrie/output/jsonlog.py b/cowrie/output/jsonlog.py index 8f0aeab..50d287b 100644 --- a/cowrie/output/jsonlog.py +++ b/cowrie/output/jsonlog.py @@ -47,7 +47,7 @@ class Output(cowrie.core.output.Output): fn = cfg.get('output_jsonlog', 'logfile') dirs = os.path.dirname(fn) base = os.path.basename(fn) - self.outfile = twisted.python.logfile.DailyLogFile(base, dirs) + self.outfile = twisted.python.logfile.DailyLogFile(base, dirs, defaultMode=0o664) def start(self):