08-02-2012
1,060,
29
Join Date: Nov 2007
Last Activity: 27 July 2017, 4:23 PM EDT
Location: New Zealand
Posts: 1,060
Thanks Given: 25
Thanked 29 Times in 28 Posts
If it's currently logging to /var/log/messages, it's probably doing so using the syslog daemon.
Find the section in your log that says something like "[ID 123456 daemon.notice]". This is the log facility and level that your app is logging as.
Then just create a new entry in /etc/syslog.conf for this pointing to your new log file location, create a blank file in the log location, and send a SIGHUP to syslogd.