HELP: Logging & OpenAPI

How do I enable the logging in the OpenAPI.

I have lots of log statements but cannot find a file. I cannot seem to enable logging the LOG4J programatic way because the IntelliJ Logger class (LOG4J wrapper) has removed the appropriate call.

Can anyone enlighten me.

Cheers

4 comments
Comment actions Permalink

I managed to turn it to DEBUG but I still don't get any of my messages in the file.

0
Comment actions Permalink

try this:

final Logger LOG = Logger.getInstance("]]>");

LOG.info("INFO");
or
LOG.error("ERROR");

0
Comment actions Permalink

Also try to put this in your log.xml inside the bin directory of IDEA
This will print log events to the console and save them in the normal idea.log file under your system/log directory (either in your home directory, in win32 c:\document and settings\\.IntelliJIdea or in your IDEA install directory demanding on the option you took when you installed IDEA). Jacques "Thilo" ]]> wrote in message
news:1458624.1055938137353.JavaMail.itn@is.intellij.net...

try this:

>

final Logger LOG = Logger.getInstance("<class name>");

>

LOG.info("INFO");
or
LOG.error("ERROR");



0
Comment actions Permalink

Many Thanks guys it is working now :o)

0

Please sign in to leave a comment.