Menu

#19 Default metalog config is broken.

open
nobody
None
5
2011-01-27
2011-01-27
No

Default metalog config have broken examples, like:

maxsize = 1048576 # size in bytes (1048576 = 1 megabyte)
maxtime = 86400 # time in seconds (86400 = 1 day)
maxfiles = 5 # num files per directory

even if you change it values as-is, it will still work with defaults. metalog does not work well when you have inline comment like here, also does not work when you have single quotes like 'value''. It should be:

maxsize=1048576
maxtime=86400
maxfiles=5

This is not coverd into man and may confuse many users.

Discussion


Log in to post a comment.