I've googled the heck out of this ... does anyone know how to configure simple exception logging?
----- Original Message ---- From: tyju tiui <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, September 17, 2007 3:34:13 PM Subject: Simple Exception Logging I'm an axis newb ... please forgive the simplistic question. In trying to create a simple web service that uses signature / encryption I'm getting a return result of "server error" and I'm not entirely sure how to get axis to write to a log file. The web service was working great until I setup the encryption so I don't think it is my code, but I really don't know? I have a log4j.properties in my classpath (axis/WEB-INF/classes) and it is getting picked up when I use this sample I found on the wiki: # Set root logger level to WARN and its only appender to A1. log4j.rootLogger=WARN, A1 # show DEBUG for SOAPPart method log4j.logger.org.apache.axis.SOAPPart=DEBUG # A1 is set to be a ConsoleAppender. # log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.File=axis.log # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n But I see nothing helpful with this config. I'm looking for a stack trace or something to help me figure out why its erroring out. Any help would be appreciated. Thanks, Ty Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. ____________________________________________________________________________________ Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! http://tv.yahoo.com/collections/3658
