Logging question (was RE: [Mulgara-dev] dateTime information being corrupted)

Andrae Muys andrae at netymon.com
Mon Nov 6 19:23:16 CST 2006


On 07/11/2006, at 3:41 AM, David Moll wrote:

> I figured out how to set logging up, I have some questions about  
> specific configurations.
>
> I added the following section to the log4j-conf.xml:
>
>   <category name="org.mulgara.resolver.store.StatementStoreResolver">
>     <priority value="debug"/>
>   </category>

<snip>

> However, I'm not getting anything from StatementStoreResolver.java,  
> even when doing a manual insert into Mulgara.  I can turn debugging  
> on for DatabaseSession.java, which inundates me with information,  
> so I know that logging is work, I'm just never seeing any messages  
> from StatementStoreResolver.

One thing you might check is that your Mulgara instance is using the  
correct log4j-conf file.  The conf/log4j-conf.xml file is installed  
into the mulgara jar file at build time, so any edits that aren't  
followed by a rebuild won't affect your mulgara instance.  If you  
want to use an external log configuration file you need to pass it's  
url to the instance using the '-l' option.  Alternatively of course  
you could rebuild the mulgara jarfile, which is what I tend to do as  
I'm generally only logging while doing mulgara development.

Andrae

-- 
Andrae Muys
andrae at netymon.com
Principal Mulgara Consultant
Netymon Pty Ltd




More information about the Mulgara-dev mailing list