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

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -