openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: service ResultSet
Date Fri, 14 Jun 2013 23:26:06 GMT
Hi Rajath,

On Sat, Jun 15, 2013 at 12:42:01AM +0530, Rajath Shashidhara wrote:
> Hello Ariel,
> Can you help me with the OpenOffice Logger.
> Where can I open the Log?
> I'm using Logger log = Logger.getAnonymousLogger();
> log.log(Level.XXX,"XXX");
> Where can I check the access the log?

This has nothing to do with OpenOffice, it's simply Java logging, please

OpenOffice has a logging API too, see
but if you want to keep it simple, just use Java logging API with
a named logger (with the name of the respective class), and then set up
a configuration file in the Tools - Options... dialogue
OpenOffice - Java, select the JRE and press the Parameters... button,
and assign

-Djava.util.logging.config.file=<path to your config file>

like in this

<path to your config file> can be a properties file with the following

handlers = java.util.logging.FileHandler
java.util.logging.FileHandler.pattern = %h/aoo%g.%u.log
java.util.logging.FileHandler.level = ALL
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter

Ariel Constenla-Haile
La Plata, Argentina

View raw message