java - How to save tomcat console outputs in log file + display in the console itself? -


i want save tomcat console outputs in log file. did changing startup.bat

like this:

call "%executable%" run >..\logs\outputfile.log 2>&1 start %cmd_line_args% run >..\logs\outputfile.log 2>&1  

this method saving tomcat console outputs in \logs\outputfile.log file. console not displaying outputs .

how can display outputs in console , in log file ???

is possible? if yes please me solve problem.

thanks!


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -