least verbose logging

I have a very simple iRule:

when SERVER_CONNECTED {

log local0.info “m”

}

this iRule appends a line to ltm like this:

Oct 1 05:07:50 tmm tmm[1756]: Rule tomtesting : m

I am trying to minimize the size of my ltm file. How can I shorten the length of this log entry?? For example, I do not need to see the text and I do not need to see the rule name, etc.

Also, is it possible to log things to another file other than ltm? I know i can syslog to a remote server. But is there an easy way to log to a special file named test.log??

In 9.4.2 and later, you can remove the rule name from the log entry using log -noname (Click here). I don’t think there is a method for removing the other parts of the log message.

Aaron