Skip to Content
0
Former Member
Mar 23, 2004 at 03:57 PM

how to setup log in iview and where does it put the log file?

12 Views

Dear All:

Environment: EP6, Win2K

-


I am wondering what are the basic steps to enable logging?

I have tried the following code, but no luck.

ILogger logger = PortalRuntime.getLogger(IPortalConstants.IVIEW_LOGGER);

if (logger.isActive()) logger.log("ensureBeanIsSetup iview logger", Level.INFO);

ILogger logger2 = PortalRuntime.getLogger(IPortalConstants.JSP_LOGGER);

if (logger2.isActive()) logger2.log("ensureBeanIsSetup into jsp logger", Level.INFO);

ILogger logger3 = PortalRuntime.getLogger();

if (logger3.isActive()) logger3.log("ensureBeanIsSetup into default logger", Level.INFO);

Looks like some configuration info (logger.xml or something) is missing.

Please help.

TIA

srini