Permalink
Browse files

extracting variable for readability

  • Loading branch information...
1 parent 73362dc commit e84c900d1efc7da262ea59a4f500c08497dcba85 @mriehl mriehl committed Mar 19, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/main/python/yadtreceiver/__init__.py
@@ -221,7 +221,10 @@ def set_configuration(self, configuration):
def initialize_twisted_logging(self):
- log_file = LogFile.fromFullPath(self.configuration['log_filename'], maxRotatedFiles=10, rotateLength=20000000)
+ twenty_megabytes = 20000000
+ log_file = LogFile.fromFullPath(self.configuration['log_filename'],
+ maxRotatedFiles=10,
+ rotateLength=twenty_megabytes)
log.startLogging(log_file)
def startService(self):

0 comments on commit e84c900

Please sign in to comment.