Thanks, Jason. I was wondering if there is a more rsyslog friend way to
configure logrotate to avoid rsyslog restart. Or is restart the only way to
fix this?

Thanks,

Alec

On Thu, Jun 16, 2016 at 10:36 AM, <[email protected]> wrote:

> Add a reload ... e.g.
>
> > Is there a way to make logrotate configuration more rsyslog friendly?
> >
> > /var/log/myapp/logs/*.log {
> >     daily
> >     missingok
> >     rotate 7
> >     compress
> >     notifempty
> >     copytruncate
>     postrotate
>         /usr/bin/systemctl reload rsyslog.service > /dev/null
>     endscript
> > }
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to