I am using Tomcat v7, I want to get a log message using ServletContext.log ("Hello World!"), But I can’t get any log from the console or log file. Someone please tell me how to set up so that I can see "Hello World!"
(It seems that it needs a config server.xml with the Logger tag added, I tried, but I don't see any log file.)
Appreciate your help.
source
share