Chainsaw V2 - Screenshot

2003-06-18 Thread Paul Smith
[Unfortunately logj-user list has a 100k limit, so i've had to turn the screen shot into a link on the Wiki] In a reasonably desperate attempt to gather feedback from the Log4j community, I am providing a link to a screenshot of the current build of Chainsaw v2 in action that can be accessed

NullAppender for Download

2003-06-18 Thread Thomas Weller
Hello, I'm using log4j in my JSP project, which I want to provide on CD now. As the logger cannot write to CD, I'm looking for the org.apache.log4j.performance.NullAppender class to prevent access-denied-errors. I found several java-doc descriptions for the NullAppender but no site where I could

RE: Log4j within JSP

2003-06-18 Thread Scott Heaberlin
We don't use FQCN for our JSP pages. As each request comes in, we use Logger.getLogger(request.getRequestURI()); This looks much nicer than generated JSP class names when we view log output in Chainsaw, LF5, etc. We obtain this Logger in a common include file, in which we also put the user's

RE: Log4j within JSP

2003-06-18 Thread Scott Burns
Thanks Scott for the info. I added the logging within a scriplet and did not see any output showing up in my jsp. I am using the same logger that I use in my beans(non-http classes). Any suggestions on what I am missing? Thanks Scott %@ page language=java import=my logging classes.*%

RE: Log4j within JSP

2003-06-18 Thread Shapira, Yoav
Howdy, We don't use FQCN for our JSP pages. As each request comes in, we use Logger.getLogger(request.getRequestURI()); Wow, that's interesting. So you have as many Logger instances as request URIs in your application. Do the server-side classes use the same approach? What about classes

RE: Logging to webservice

2003-06-18 Thread Shapira, Yoav
Howdy, Is there any way to log to a webservice using log4j? I have been reading abt socket appender, but if there is something that can log to a web service, it will really help. You can write a service appender: I'm not aware of one that comes with the log4j core or is in the sandbox. I'm

RE: NullAppender for Download

2003-06-18 Thread Shapira, Yoav
Howdy, I'm using log4j in my JSP project, which I want to provide on CD now. As the logger cannot write to CD, I'm looking for the org.apache.log4j.performance.NullAppender class to prevent access-denied-errors. I found several java-doc descriptions for the NullAppender but no site where I could

Re: Log4J in WebLogic v7 J2EE App

2003-06-18 Thread Jeffrey Jakubiak
Thanks Allison... your suggestion helped find the root of the problem. A word of caution for anyone using Crytal Reports Enterprise... buried deep in their jar is log4j configuration files that can blow away any configuration setup for your application. Best Regards, Jeff

RE: Chainsaw V2 - Screenshot

2003-06-18 Thread Tauzell, Dave
I checked out from CVS and built, but I'm not sure where to go from there. Is there anything that describes what the configuration file should look like and which additional jars I'll need to run chainsaw? -Dave -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent:

RE: Log4j within JSP

2003-06-18 Thread Scott Heaberlin
For non-JSP classes we use private static final Logger log = Logger.getLogger(fqcn.class); The reason we used the request URI in our jsp pages was because the servlet-container-generated classnames were often extremely long and difficult for non-developers (support personnel) to interpret (eg,

RE: Log4j within JSP

2003-06-18 Thread Shapira, Yoav
Howdy, OK: thanks for the explanation. It's always interesting to see alternative solutions. ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Scott Heaberlin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 9:26 AM To: Log4J Users List Subject: RE: Log4j

Re: log4cplus port

2003-06-18 Thread Ceki Gülcü
Done. Sorry for the delay. At 12:17 PM 6/16/2003 -0600, Tad Smith wrote: Hi, I am the maintainer of the log4cplus project (http://log4cplus.sourceforge.net/). Perhaps you could change the description of this project on your downloads page from: A competing port to C++. to the sourceforge

RE: Logging to webservice

2003-06-18 Thread Parikh, Sangeeta
Hi, We have an application that runs on desktop and we want to log any messages on the desktop to the server machine. Since we do not want to expose sockets, we are planning to log to a web service. Please let me know if you have any alternate solution for this. Any help is always appreciated :)

RE: Logging to webservice

2003-06-18 Thread Shapira, Yoav
Howdy, We have an application that runs on desktop and we want to log any messages on the desktop to the server machine. Since we do not want to expose sockets, we are planning to log to a web service. Please let me know if you have any alternate solution for this. Any help is always

RE: Logging to webservice

2003-06-18 Thread Parikh, Sangeeta
Hi, My desktop application is built using C# and .NET, and the server is in java which has been exposed as web services. I was talking to my team lead abt using Socket Appender, *firstly we have fail over and load balancing on the server side, so can't use sockets. *Since the client logs using

RE: Logging to webservice

2003-06-18 Thread Shapira, Yoav
Howdy, My desktop application is built using C# and .NET, and the server is in java which has been exposed as web services. Ahh, now this is a much more interesting scenario. *firstly we have fail over and load balancing on the server side, so can't use sockets. OK. It would be a pain,

RE: Logging to webservice

2003-06-18 Thread Scott Deboy
I've contributed receivers to the sandbox tree which support reception of events generated outside the Log4J framework. Chainsaw V2 (also in the sandbox) works well with these receivers. Three receivers accept XML-formatted logging events transmitted over TCP, multicast or udp (events must

different message for different level in renderer

2003-06-18 Thread Jen
Hi, I would like to render an object according the level, for example, for debug I just dump the object, for fatal I need to send out more inforamtion, is that possible? Thanks __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

RE: Chainsaw V2 - Screenshot

2003-06-18 Thread Paul Smith
HI Dave, Sure! In the jakarta-log4j-sandbox/src/config there is a number of xml files that show some examples. I think out of the box if you run the ant -f chainsaw-build.xml it will automatically use the log4j-sample.xml file (this is all configured in the build.chainsaw.properties file).

RE: Fallback Error Handler behavior

2003-06-18 Thread Scott Heaberlin
I probably won't be able to directly donate the code we have. But, as the original author, I'm sure I could recreate it at home without the company-specific code in it. How would you like me to submit it? To the list? I can probably have it cranked out in a couple of days or so. I'll read up on

RE: Fallback Error Handler behavior

2003-06-18 Thread Yoav Shapira
Howdy, Sending it to the list would be great. Putting the Apache license (you can copy and paste from any of the log4j source file) on top would be even better ;) I can commit it into the log4j-sandbox at that point. Thanks! Yoav Shapira --- Scott Heaberlin [EMAIL PROTECTED] wrote: I

RE: NullAppender for Download

2003-06-18 Thread Yu Xiang Xi (Maveo)
If you set the log level to OFF, that is the same to null appender. Best Regards. Xi Yuxiang -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 2003618 20:54 To: Log4J Users List Subject: RE: NullAppender for Download Howdy, I'm using log4j in my JSP project,