Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement logrotate #4

Open
jeonghanlee opened this issue Jun 9, 2020 · 1 comment
Open

implement logrotate #4

jeonghanlee opened this issue Jun 9, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jeonghanlee
Copy link
Owner

jeonghanlee commented Jun 9, 2020

If we move all log files into /var/log/procserv/, it will be implemented into procServ configuration. I think, this will be better solution than the current configuration. However, the modification of the systemd unit file is needed, so I keep this issue as a place holder.

@jeonghanlee jeonghanlee self-assigned this Jun 10, 2020
@jeonghanlee
Copy link
Owner Author

Potential configuration is

# /etc/logrotate.d/alarmtrio
/var/log/procServ/alarm*log {
    notifempty
    copytruncate
    daily
    rotate 7
    dateext
    compress
}

@jeonghanlee jeonghanlee added the enhancement New feature or request label Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant