mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-18 04:44:29 +01:00
Fix #268
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user