Change: no log exclusions by default, clearer size message
This commit is contained in:
parent
0a699de54f
commit
b2518b286c
@ -94,8 +94,8 @@ scripts:
|
||||
logs:
|
||||
__default:
|
||||
path: '/var/log'
|
||||
exclude:
|
||||
- '\.[^12]\.gz$|\.\d{2,}\.gz$'
|
||||
# exclude:
|
||||
# - '\.[^12]\.gz$|\.\d{2,}\.gz$'
|
||||
# cmds:
|
||||
# __default:
|
||||
# test:
|
||||
|
@ -307,7 +307,9 @@ def main(argv=None):
|
||||
has_logs = False
|
||||
else:
|
||||
has_logs = True
|
||||
print('Total logs size to collect: %dMB.' % (size/1024/1024))
|
||||
print(('Total logs size to collect before compression: %dMB.\n'
|
||||
'Compressed logs will take less space.') % (size/1048576))
|
||||
print('Log collection period: %s days.' % conf['logs_days'])
|
||||
enough_space = pretty_run(args.quiet, 'Checking free space',
|
||||
nm.is_enough_space)
|
||||
if not enough_space:
|
||||
|
@ -16,7 +16,7 @@
|
||||
# under the License.
|
||||
|
||||
project_name = 'timmy'
|
||||
version = '1.19.4'
|
||||
version = '1.19.5'
|
||||
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user