Im using security manager in my tomcat. I need all the consol logs to be written in the tomcat.log file. Fo this im using this cmd
catalina start -security > tomcat.log
But the log not goes to tomcat.log rather it is again writing in console only.
How can i write this log into a separate file?