Re: Apache chainsaw

2017-04-07 Thread Brett Randall
+1 for migration to Git. On 6 April 2017 at 07:44, Matt Sicker wrote: > We can probably do that, though usually we like to do a 72 hour grace > period to make sure there are no objections before migrating repositories. > > On 6 April 2017 at 02:01, Robert Lu

Re: More maven build problems for log4j

2014-05-01 Thread Brett Randall
Connection timed out Are you building behind a firewall that requires you to use a http proxy for internet access? If so, you might want to review your ~/.m2/settings.xml and add appropriate proxies/proxy entries. -Brett On 2 May 2014 02:08, walter_mar...@dellteam.com wrote: Dell -

Re: Blocked log file / logging

2013-06-25 Thread Brett Randall
Perhaps you are seeing this issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=41214 , duplicated by https://issues.apache.org/bugzilla/show_bug.cgi?id=42213 ? Please provide as complete-as-possible stacktraces of thread dumps. On 25 June 2013 21:27, Köther, Michael

Re: how to configure log4j (1.2) in JBoss 6?

2013-05-22 Thread Brett Randall
Piers, I've not done this on JBoss 6. If your application uses Spring Framework, you could initialize log4j using their org.springframework.web.util.Log4jConfigListener as described in this blog [1]. If you aren't using Spring, you can still take a similar approach - create a

Re: Logging all the input parameters to all the methods in a webservice using DEBUG priority

2013-01-19 Thread Brett Randall
Hi For this type of horizontal logging concern, an Aspect Oriented Programming (AOP) solution can be applied. Choose an AOP library - I recommend AspectJ [1], then create pointcuts matching entry to all the methods/classes you are interested in. You can capture the parameters and call the

Re: Chainsaw update fails horridly

2012-09-05 Thread Brett Randall
Yeah the webstart version looks to have problems. The webstart location in redirecting to http://logging.apache.org/chainsaw/chainsaw_20060302/webstart/ but the files there are dated July 2012. My recommendation, if you need a working version fast, is to use the non-webstart snapshot version

Re: Log4j : how to classify loger messages

2012-08-23 Thread Brett Randall
What's in your log4j.xml? Have you defined a root logger? On 23 August 2012 21:24, adicj adhi...@gmail.com wrote: hi ralph Goers, Thank you for your reply.I go through the refered site and i try to implement it.Intially i used log4j.properties file.Now i replaced that with log4j.xml In

Re: Log4j : how to classify loger messages

2012-08-22 Thread Brett Randall
It's worth noting that people have set this up before (log file per level) and concluded it was not a good solution for them [1]. I tend to agree, better to log to a single file at the appropriate threshold and a log-file viewer/post-processor if you want to filter further later. It can be very

Re: Threshold Levels

2012-07-13 Thread Brett Randall
It looks like you may have a copy/paste error in your config. In the second, syslogAudit appender: log4j.appender.syslog.facility=LOCAL3 should be log4j.appender.syslogAudit.facility=LOCAL3 Best Brett On 7/14/12, Brent Evans brentevan...@gmail.com wrote: Hi, I'm currently trying to

Re: Tomcat log4j doesn't roll files as supposed to

2012-03-10 Thread Brett Randall
? On Fri, Mar 9, 2012 at 7:08 AM, Brett Randall javabr...@gmail.com wrote: What's going on with C:\LB\Tomcat versus C:\Tomcat ?  Do you have two Tomcat installations? Brett On 3/8/12, Meir Yanovich meiry...@gmail.com wrote: i have in my tomcat web application log4j that is configured like

Re: Tomcat log4j doesn't roll files as supposed to

2012-03-08 Thread Brett Randall
What's going on with C:\LB\Tomcat versus C:\Tomcat ? Do you have two Tomcat installations? Brett On 3/8/12, Meir Yanovich meiry...@gmail.com wrote: i have in my tomcat web application log4j that is configured like this : 1. log4j:configuration

Re: How to stop mail delivery but NOT unsubscribe from this mailing-list?

2010-08-19 Thread Brett Randall
You could try Nabble: http://old.nabble.com/Log4j-f5107.html On 8/19/10, Ben Stover bxsto...@yahoo.co.uk wrote: I want to read postings in this mailing-list by using a web browser and to be able to post/send questions but I don't want to get all postings by email. Allmost all other

Re: Console appender much slower then File appender. Why ?

2010-07-05 Thread Brett Randall
http://stackoverflow.com/questions/950026/java-whats-the-reason-behind-system-out-println-being-that-slow On Mon, Jul 5, 2010 at 5:32 PM, Emily36 bilancia197...@libero.it wrote: Hi all, We have recentely got some issues with the performance of our loggings printed on the Console. I have

Re: bizarre NPE exception

2009-11-19 Thread Brett Randall
it down when the webapp is undeployed? Nothing will cause these sorts of problems quite like an unterminated thread whose classloader is that of the unloaded webapp. Brett On Thu, Nov 19, 2009 at 5:41 PM, Pat Farrell pfarr...@pfarrell.com wrote: Brett Randall wrote: You mentioned

Re: bizarre NPE exception

2009-11-19 Thread Brett Randall
http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/ServletContextListener.html, see #contextDestroyed(). On Fri, Nov 20, 2009 at 3:28 PM, Pat Farrell pfarr...@pfarrell.com wrote: Brett Randall wrote: Is this only occurring during hot-redeploys of a WAR-file? What

Re: bizarre NPE exception

2009-11-16 Thread Brett Randall
JK Given that it happens after a redeploy cycles, it is likely the infamous Tomcat bug (though they probably don't consider it one) where normally static final constants are nulled by Tomcat code to work around garbage collection bugs while leaving the classloader in-tact +1 On Tue, Nov 17, 2009

Re: bizarre NPE exception

2009-11-16 Thread Brett Randall
Hi Pat, I don't know Glassfish as well as other containers, but according to Wikipedia[1], It uses a derivative of Apache Tomcat /wiki/Apache_Tomcat as the servlet /wiki/Servlet container for serving Web content You mentioned that this problem occurs when deploying a new WAR file - that would

Re: FileAppender is not assignable to Appender

2009-11-02 Thread Brett Randall
Log4j is identifying the classloaders with incompatible versions of the classes referenced. The classpaths are missing so hard for me to deduce more, but you may be able to determine which WAS classloaders in the webapp's classloader hierarchy have been responsible for loading the incompatible

Re: FileAppender is not assignable to Appender

2009-10-31 Thread Brett Randall
Check whether the added JARs include Commons Logging. I notice that the Appender is named after Spring. Spring depends on Commons Logging which is notorious for creating classloading challenges. Brett On 10/29/09, chrisgage chrisg...@bellsouth.net wrote: That was what I thought originally.

Re: Status of log4j 2.0?

2009-10-01 Thread Brett Randall
http://stackoverflow.com/questions/290685/will-there-be-a-log4j-2-0-release-and-if-so-when On 10/2/09, Aaron drizzt...@gmail.com wrote: Whats the status of log4j 2.0? I see it on the website, but no real information, and there hasn't really been much talk of it that I can see. I don't even

Re: everything is logged to root as well as where I want it.

2009-09-27 Thread Brett Randall
On Mon, Sep 28, 2009 at 9:23 AM, Pat Farrell pfarr...@pfarrell.com wrote: I think my configuration is a bit off. While the loggers for the specific classes work fine, everything is also being logged to the root logger, and I have additivity off. Or at least, I think its off properly. Could

Re: What versions of Windows does NTEventLogAppender support?

2009-07-06 Thread Brett Randall
Hi Mark, Last time I faced the same question myself (within the last 6 months) I was unable to find a pre-compiled 64-bit DLL for NTEventLogAppender. JNI will not load/link the 32-bit one from a 64-bit JVM. I've started my own library bridging to java.util.logging or log4j, based on HOWTOs I

Re: A default getLogger method

2009-01-28 Thread Brett Randall
Hi Brian, From the javadoc for Thread getStackTrace(): Some virtual machines may, under some circumstances, omit one or more stack frames from the stack trace. In the extreme case, a virtual machine that has no stack trace information concerning this thread is permitted to return a zero-length

Re: Redirect system.out into FileAppender

2009-01-08 Thread Brett Randall
Almost this exact same question was answered very recently and rather brilliantly by Michael Erskine here: http://www.nabble.com/I-need-to-make-logging-in-a-complete-application-td21174776.html. Brett On Fri, Jan 9, 2009 at 12:05 AM, thomas.th.hamac...@partner.bmw.ch wrote: Hi, is it

Re: Chainsaw database connectivity error

2008-10-15 Thread Brett Randall
Looks like JDBC is seeing the curly braces as a JDBC escape sequence. I reckon your quotes should be single quotes ' rather than double-quotes , as you are after a string literal. Best of luck, Brett On Wed, Oct 15, 2008 at 8:34 PM, Rally, Menka [EMAIL PROTECTED] wrote: Hello I am facing

Re: Future of JULI-Log4j bridging

2008-09-17 Thread Brett Randall
Thanks Paul. I've synced up with your repo and it all looks like it's working nicely. The only local edits I still have outstanding are mods to examples.apt (add Example 5 : java -Djava.util.logging.manager=org.apache.logging.julbridge.JULBridgeLogManager ... ) and keyclasses.apt (mention