You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by joe a <jo...@j4computers.com> on 2022/08/08 21:36:13 UTC

OT - logrotate size parameter

This is OT, but perhaps someone here knows.

In the context of the logrotate conf file, what does the + sign indicate 
when used as a prefix size directive?

Example: "size +4096k"

Some conf files have it, some don't.  Man pages do not mention it AFAICT 
and the internet is rather seems to ignore it.

Re: OT - logrotate size parameter

Posted by "headprogrammingczar@gmail.com" <he...@gmail.com>.
Looks like it doesn't mean anything.

The config parsing code ultimately resolves that text to a number here: 
https://github.com/logrotate/logrotate/blob/471f115b18fa8b7dfafecc74f76e34c14d090620/config.c#L1311

stroutll is a standard library function, documented here: 
https://linux.die.net/man/3/strtoull

On 8/8/2022 5:36 PM, joe a wrote:
> This is OT, but perhaps someone here knows.
>
> In the context of the logrotate conf file, what does the + sign 
> indicate when used as a prefix size directive?
>
> Example: "size +4096k"
>
> Some conf files have it, some don't.  Man pages do not mention it 
> AFAICT and the internet is rather seems to ignore it.