Hi Manfred,
thanks!
i thougth its a bit offtopic.
sorry for that...
but i read in german-book
"Java Framework für Webanwendungen"
(haiges et. al)
something about logging...
there they use
servletContext.getRealPath("/WEB-INF/logging.properties");
for there own actionServlet.
but getRealPath()
Ralf.
Its a little bit off topic. Log4J offers several possibilities for
configuration. The simplest way is just place your file into the
$CLASSPATH e.g. WEB-INF/classes. In this case your file MUST named
log4j.properties. At the first attach the log4j Framework searches such
a file to configu
Hi all,
i want to log something
in my own classes (MyAction e.g.)
but i dont know how can i set Appenders etc.
in "normal" applications i can load
with:
PropertyConfigurator.configure("/WEB-INF/logging.properties");
log4j-settings but in struts (or is it tomcat?)
the file will be ignored...
3 matches
Mail list logo