projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c44c0
)
Append mode is required if we're loogging to disk.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 16 Apr 2013 19:50:45 +0000
(15:50 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 16 Apr 2013 19:50:45 +0000
(15:50 -0400)
irkerd
patch
|
blob
|
history
diff --git
a/irkerd
b/irkerd
index cacd4bfdcc9d8d616e248c0db03863eb3f940406..5c4295a17354d4019054a229f3d5a4ab1216ebf8 100755
(executable)
--- a/
irkerd
+++ b/
irkerd
@@
-476,7
+476,7
@@
class Irker:
connection.context.handle_kick(target)
def _handle_all_raw_messages(self, _connection, event):
"Log all messages when in watcher mode."
- with open(logfile, "
w
") as logfp:
+ with open(logfile, "
a
") as logfp:
logfp.write("%03f|%s|%s\n" % \
(time.time(), event.source, event.arguments[0]))
def handle(self, line):