Forum Discussion

Bes_175761's avatar
Bes_175761
Icon for Nimbostratus rankNimbostratus
Oct 30, 2014

Local traffic logging

We currently have an entry in one of our irules to log specific inbound connections:

 

log local0. "Terminal Client [IP::client_addr]--> [virtual]:" This creates an entry in the /var/log/ltm.

 

Is there a way to log to a file other than /var/log/ltm? Can somebody please suggest a proper syntax for writing to /var/log/TerminalClient.log? Thank you in advance.

 

1 Reply

  • For a completely customized log file, as in your case, there's no suitable iRule syntax. You might want to read this for a workaround: https://devcentral.f5.com/articles/writing-to-and-rotating-custom-log-files