logging documentation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

logging documentation

Chris Snow-3
Hi Forum,

Is there any documentation on tweaking the logging?  I want to be able
to display the generated SQL to debug some of my tests.

Many thanks,

chris
Reply | Threaded
Open this post in threaded view
|

Re: logging documentation

Jacques Le Roux
Administrator
https://issues.apache.org/jira/browse/OFBIZ-1030

HTH

Jacques

From: "Chris Snow" <[hidden email]>
> Hi Forum,
>
> Is there any documentation on tweaking the logging?  I want to be able
> to display the generated SQL to debug some of my tests.
>
> Many thanks,
>
> chris
>

Reply | Threaded
Open this post in threaded view
|

Re: logging documentation

Chris Snow-3
Hi Jacques, is there any general documentation on configuring the
logging in ofbiz.

On 27/01/2010 10:15, Jacques Le Roux wrote:

> https://issues.apache.org/jira/browse/OFBIZ-1030
>
> HTH
>
> Jacques
>
> From: "Chris Snow" <[hidden email]>
>> Hi Forum,
>>
>> Is there any documentation on tweaking the logging?  I want to be
>> able to display the generated SQL to debug some of my tests.
>>
>> Many thanks,
>>
>> chris
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: logging documentation

chris snow
I was expecting to just add the following to log4j.xml, but it's not making any difference to the console output.

    <category name="org.ofbiz.entity">
        <priority value="all"/>
        <appender-ref ref="stdout"/>
    </category>
Reply | Threaded
Open this post in threaded view
|

Re: logging documentation

Scott Gray-2
In reply to this post by Chris Snow-3
Hi Chris,

It's usually easiest to do this from the database rather than the application, if you're using Derby the configuration is available in runtime/data/derby.properties if you haven't created the database yet or otherwise runtime/data/derby/derby.properties

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/01/2010, at 2:49 AM, Chris Snow wrote:

> Hi Forum,
>
> Is there any documentation on tweaking the logging?  I want to be able to display the generated SQL to debug some of my tests.
>
> Many thanks,
>
> chris


smime.p7s (3K) Download Attachment