Re: Pixory and Tomcat Uprade

"Joe Panico" <[email protected]> Fri, 17 Dec 2004 15:25:21 -0000
Newsgroups gmane.comp.web.pixory
Message-ID <[email protected]>

Klemens,

In the log.configuration.xml add this:


	<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %p (%t)
[%C{4} %M] - %m%n"/>
		</layout>
	</appender>

And change the Hibernate stanza so that it looks like this:

	<!-- this configures hibernate (object-relational mapping) -->
	<category name="net.sf.hibernate" additivity="false">
		<priority value="debug"/>
		<appender-ref ref="stdout" />
	</category>

That tells Hibernate to send detailed debugging information to the
console, which is normally stdout.

Unfortunately, HSQLDB is the only major component that is not logging
through log4j/commons-logging. It has its own logging system. To
enable HSQLDB debugging, you need the JVM that runs Pixory to launch
with (or somehow define) these system properties:

hsqldb.trace=true
hsqldb.tracesystemout=true

Once hsqldb.trace is enabled, the logging statements will _not_ go to
the regular pixory.log file-- they will get sent to stdout. 

Now Hibernate and HSQLDB are both logging to stdout and the log should
pretty much tells us whatthey are hanging on.

> find the 0.5 tag in the rep, is there also a 0.5.1 tag I've 

My bad, I forgot to tag 0.5.1. The tag is in the sourceforge CVS now.

regards,

joe






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/EGnolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/pixory-beta/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/