Skip to content

Commit

Permalink
Merge pull request #19849 from dmitrijus/log1
Browse files Browse the repository at this point in the history
Update ztee.py to limit default log size to 16mb.
  • Loading branch information
cmsbuild committed Jul 21, 2017
2 parents 55a8344 + c0634b0 commit b862234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DQMServices/StreamerIO/scripts/ztee.py
Expand Up @@ -25,7 +25,7 @@ def __init__(self, log_file):

self.file = open(log_file, "wb+")
self.file_min_size = 2*1024*1024 # this amount of space we keep after truncating
self.file_max_size = 64*1024*1024 # we truncate if file gets bigger
self.file_max_size = 16*1024*1024 # we truncate if file gets bigger

self.file_truncate_pos = None
self.file_truncate_state = None
Expand Down

0 comments on commit b862234

Please sign in to comment.