This commit is contained in:
Michel Oosterhof
2016-09-19 11:15:14 +04:00
parent fc8620a2da
commit 8cd1df882f

View File

@@ -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):