Ceki Gülcü wrote:

After a rollover, a new file has been created which necessarily of size zero on account of it being new.

So from a logger point of view, opening a newly created file with append true or false is identical, so it seems there is no harm in carrying the desired append mode through to the open that performs a create. I tried this and the problem went away.

The point about the appender needing write permissions is interesting but isn't write permission already required to rename the file as is done during roll over?

No, rename requires the 'rename' permission in SELinux.

Thanks,
Dan.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to