Hi Brennan,

In your core FDS config file on the server (WEB-INF/flex/services-config.xml) 
there's a <logging> section. I'd recommend upping the level to Debug and just 
use <pattern>Message.*</pattern>. Log output is directed to the console by 
default (that's what flex.messaging.log.ConsoleTarget does), but you can change 
<target class="..." to use flex.messaging.log.ServletLogTarget in which case 
FDS's log output will go to the servlet container's general log file.

If you have a simple reproducible test case, run through it and watch the log 
and you'll see the values being sent back and forth in the underlying messages 
between the client and server. That should help get you closer to the problem.

You may also want to try <pattern>DataService.*</pattern> as well.

Best,
Seth

________________________________________
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dreuimar
Sent: Friday, September 01, 2006 5:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex/Hibernate Logging

Good morning everyone,

What are some of the best methods for logging? My FDS/Hibernate
application can occasionally lose data, and screw everything else up
after the fault for the end user (who doesn't have the debug player,
therefore is oblivious to the fact.)

Hibernate outputs it's startup variables to
$TOMCAT_HOME/logs/stdout_<data>.log, but I can't figure out how to get
any more detailed without having show SQL enabled, which doesn't
really give me actually data (just ?'s for the prepared statements),
and is a bit TOO verbose.

I can't seem to get log4j initialized either - does anyone have any
experience logging in Flex, and might be able to give me some pointers?

Thanks,
Brennan
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> 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/
 



Reply via email to