allow human readable file/memcap settings
Currently a memcap can be 134217728. It would be much nicer if it could just say "128MiB". Should be a general function that is used in all cases of memcap & file size.
Updated by Victor Julien almost 11 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
I added a check for unified2 and log-pcap that if the value is < 4096 it's assumed that it's an old config where the value is meant to be in MB. So in those cases a log message is emitted and the value is converted to actually be in MB.