Hi!
I'm trying to write some information to any of the log files on Oracle Application Server but can't seem to get it working.
I have a http servlet class in which I try to log records like this:
Logger loLogger = Logger.getAnonymousLogger();
loLogger.info("HttpServlet: doGet start!");
This code displays
1.4.2008 9:44:02 package.HttpServlet doGet
INFO: HttpServlet: doGet start!
in JDeveloper output window, but after deployment to AS it is not written to any of the files. I do not use a custom logger or log files in my application so my question is: how can I write information to any of the log files on AS (for example logs in <ORACLE_HOME>\opmn\logs folder or in log.xml file in oc4j folder of j2ee home log)?
I've been reading about j2ee logging but as I said, can't get it to work. Are there any ADF classes to do this?
Thanks,
regards!