diff options
| author | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-28 11:51:57 +0200 |
|---|---|---|
| committer | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-28 11:51:57 +0200 |
| commit | df4d69358f7ec6115d835cabe47e749aa04ba6ff (patch) | |
| tree | b1742ddb912cde2d4176f3ba3311318a4839ba4d /monitor/josef_reader.py | |
| parent | 90b3ea06bf21659a9b7cfb8f72cbbc7b22d7367d (diff) | |
enabling mixed auditing/monitoring. changing timespamp format
Diffstat (limited to 'monitor/josef_reader.py')
| -rwxr-xr-x | monitor/josef_reader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/josef_reader.py b/monitor/josef_reader.py index 6b14b70..7974221 100755 --- a/monitor/josef_reader.py +++ b/monitor/josef_reader.py @@ -29,7 +29,7 @@ class monitored_domain: return self.url == other.url def log(self, string): - s = time.strftime('%Y-%m-%d, %H:%M:%S') + " " + string + s = time.strftime('%Y-%m-%d %H:%M:%S') + " " + string with open(OUTPUT_DIR + "monitor.log", 'a') as f: f.write(s + "\n") f.close() |
