Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Logs are not being rotated #2644

@alpana17

Description

@alpana17

I have a log file at /var/splunk/journald
journal logs are converted into text and directed to this file.

I defined log rotation policy for this file at /etc/logrotate.d/journalLogs.conf
/var/splunk/journald {
daily
rotate 3
size 10M
compress
delaycompress
}

Current size of this log file is
image

On executing logrotate -d /etc/logrotate.d/journalLogs.conf; output is
image

but, ls -al /var/splunk returns
image

Where are the rotated log files???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions