문제

I looked at the man pages, searched here, googled, etc.

Does anyone know the default size used by logrotate?

What reference can you cite stating the default size?

I know I can set size specifically in my config files.

도움이 되었습니까?

해결책

So far as I know, there is no default size for logrotate, no need to waste time on this,set the value yourself in config file.

다른 팁

There isn't a default size, because it's an optional flag. logrotate will rotate based on certain criteria that you give it, e.g., file size or time period (daily, weekly, etc). So it's not that it has a default file size (except maybe something like size 0), it's just not a precondition for a file being rotated.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top