Skip to content
Browse files

Fix bug with scribe.LogEntry interface change (thanks Ben Standefer)

  • Loading branch information...
1 parent 8f37cad commit e68ab59115762909d6bcba504617bf1eb1b32fe0 @silas silas committed Jun 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scribe_log
View
2 scribe_log
@@ -34,7 +34,7 @@ def handle(file, category, host='127.0.0.1', port=1463, prefix='', postfix=''):
try:
log_file.seek(0, 2)
for line in tail_file(log_file):
- log_entry = scribe.LogEntry(dict(category=category, message=prefix+line+postfix))
+ log_entry = scribe.LogEntry(category=category, message=prefix+line+postfix)
result = client.Log(messages=[log_entry])
finally:
log_file.close()

0 comments on commit e68ab59

Please sign in to comment.
Something went wrong with that request. Please try again.