Logrotate and impstats ..again

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Google Ads


Logrotate and impstats ..again

Postby undeadly » Thu Dec 14, 2017 8:57 am

hello
i have same problem of logrotate and impstats but the correction i saw didn't help me.

Debian 8.5
rsyslog 8.4.2-1+deb8u2

Code: Select all
module(load="impstats"
       interval="1"
       severity="7"
       #hors syslog ?
       log.syslog="off"
        log.file="/var/log/remote/stats.log")


when i do the logrotate there is no new stats.log and i must restart.

my logrotate:

/var/log/remote/stats.log {
rotate 1
size 100M
daily
missingok
notifempty
compress
nodelaycompress
sharedscripts
postrotate
invoke-rc.d rsyslog rotate > /dev/null
#kill -HUP $(cat /var/run/rsyslogd.pid)
endscript

}


i try with a queue and fixed array , kill - HUP and everything i could have seen on the forum
thanks for the help
undeadly
New
 
Posts: 3
Joined: Wed Jun 29, 2016 12:47 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads


Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron