Hello,
I have an external script that I use on Centos 6 that is called for log
rotation and works great, I have the exact same script on a Centos 7 box and
it will create the directory but will not rotate the logs. The setups are
identical with the exception of Centos version and I've found nothing
searching Google to give me a hand. There are no errors in the nxlog
internal log and if I run it by hand it works just fine. I suspect at this
point I'm missing the forest for the trees.
How I call the script:
<Output logs_all_out>
Module om_file
Exec to_syslog_bsd();
File '%LOGALL%'
<Schedule>
When @daily
Exec
exec("/usr/local/sbin/rotate_logs.sh",'%FILENAME%','%LOGALL%');
logs_all_out->reopen();
</Schedule>
</Output>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users