syslog.conf

How can i configure messages with warn priority to be logged in /var/log/mywarnings.log ?

You can put the following in the syslog.conf file

*.=warn     -/var/log/mywarnings.log

--ahamed