Forum Discussion

dan_19334's avatar
dan_19334
Icon for Nimbostratus rankNimbostratus
Sep 22, 2008

Syslog off box via TCP and stop writing to disk

We would like to remote syslog off the LTM via TCP for guaranteed delivery and also prevent the messages from writing to disk. In order to get TCP versus UDP we stream the logs through the local syslog-ng process as the remote iRule log command can only do UDP. I have referenced the great "Custom Syslog Configuration" article on how to append custom changes to syslog-ng, which has allowed us to stream syslog messages off the box via TCP. :-)

 

 

The problem is that even though we have added configs to send logs off the box, the syslog-ng process is still writing them to disk which is causing a performance degradation. We want to send off the box and also stop from logging locally. When we do custom syslog configs it appears to only add additional configuration but doesn't change any of the existing default configs. Is there anyway to override local0 (or other) to stop writing to /var/log/ltm?

 

 

Thanks,

 

-Dan

 

 

 

 

11 Replies