If you read the documentation of ServletContext.log method, it says
Writes the specified message to a servlet log file, usually an event log. The name and type of the servlet log file is specific to the servlet container.
So which servlet container are you using?? Is tomcat or something else??