lumberjack icon indicating copy to clipboard operation
lumberjack copied to clipboard

smaller sizes increments

Open anarcat opened this issue 7 years ago • 10 comments

it's too bad that the file size rotation limit is in megabytes - that's actually a huge number for embeded platforms. it would be better to rotate on kilobytes or, fundamentally, bytes: one can then use multiples to find the proper value using, e.g. humanize: fmt.Println("10 MB: %d", 10 * humanize.MiByte)...

i understand this may involve an API change, but maybe there could just be another MaxBytes settings?

anarcat avatar Feb 14 '17 16:02 anarcat