I want to redirect my sysout or syserr console output to log file in tomcat7
Asked
Active
Viewed 1,390 times
-1
-
Try this > http://stackoverflow.com/questions/1200175/log4j-redirect-stdout-to-dailyrollingfileappender – Kalyanaraman Santhanam Sep 28 '13 at 02:15
1 Answers
0
Doesn't answer your exact question but hope it helps....
To print output generated by command prompt to a file use the following
Ex:
jar tvf apache-cassandra-1.0.8.jar > out
The output will be stored in a file called out in the same directory

Karthik S
- 847
- 1
- 8
- 22