Skip to content
Browse files

added filename to constructor

  • Loading branch information...
1 parent 46abff4 commit a4fa550cf74dbf74c085a81c5a24e6dda8aa0776 @dkavanagh dkavanagh committed Feb 24, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/requestlog.py
View
4 boto/requestlog.py
@@ -10,8 +10,8 @@ class RequestLogger(RequestHook):
This class implements a request logger that uses a single thread to
write to a log file.
"""
- def __init__(self):
- self.request_log_file = open('/tmp/request_log.csv', 'w')
+ def __init__(self, filename='/tmp/request_log.csv'):
+ self.request_log_file = open(filename, 'w')
self.request_log_queue = Queue.Queue(100)
Thread(target=self._request_log_worker).start()

0 comments on commit a4fa550

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