Forum Discussion

Jose_34113's avatar
Icon for Nimbostratus rankNimbostratus
Oct 06, 2010

New log file associated with a localX.

I'd like write access logs in a log different from those already defined:


To do this I would use a iRules like this:



what steps should I do? (Syslog-ng, bigip_error_maps.dat, ...??)




1 Reply

  • Hi Jose,



    You can send specific log messages to a different file using syslog-ng customizations to filters and destinations. The way to implement this changed in 9.4.2. For pre-9.4.2 you can edit the syslog-ng.conf file directly. For 9.4.2 and higher, you can use a syslog include file and bpsh.



    Here are a few related links for syslog-ng:





    LTM 9.4.2+: Custom Syslog Configuration




    And here are a few related posts:



    How to filter syslog messages




    syslog-ng filter not working