Skip to content

Is there a way to control how rotated log files are renamed? #172

@Elcoid

Description

@Elcoid

Hello!

I see that rotating with Numbers yields files that look like this:

my_daemon_rCURRENT.log
my_daemon_r00000.log
my_daemon_r00001.log
...

and rotating with NumbersDirect yields files that look like this:

my_daemon_r00000.log
my_daemon_r00001.log
my_daemon_r00002.log
...

However, I would like to be able to have the following (as is usual on *nix from what I could see, and this is what file_rotate does by default), is it possible?

my_daemon.log
my_daemon.log.1
my_daemon.log.2
...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions