Re: DailyRollingAppender - How does it know when to rollover?

2009-05-11 Thread Paul Smith
...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org Paul Smith Production Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: psm...@aconex.com

Re: Log4j with JMS/ActiveMQ

2009-02-16 Thread Paul Smith
- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org Paul Smith Production Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240

Re: Log4j with JMS/ActiveMQ

2009-02-12 Thread Paul Smith
: log4j-user-h...@logging.apache.org Paul Smith Production Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: psm...@aconex.com www.aconex.com This email and any

Re: Can't get basic Zeroconf example to work.

2009-01-21 Thread Paul Smith
good to hear that's working! Would really appreciate further feedback on what works/doesn't etc as we get closer to a release. cheers, Paul On 22/01/2009, at 12:23 AM, Adamides, Paul O wrote: That did the trick! You are the man Pauly! ;) -Original Message- From: Paul Smith

Re: Can't get basic Zeroconf example to work.

2009-01-20 Thread Paul Smith
Very simple and straight forward. However, as soon as I run the app, I get the following Error: java.lang.InstantiationError: javax.jmdns.JmDNS at org.apache.log4j.net.Zeroconf4log4j.clinit(Zeroconf4log4j.java:23) at org

Re: Can't get basic Zeroconf example to work.

2009-01-20 Thread Paul Smith
Actually here's the 'official' 1.0 jar published in the Maven Central repository: http://repo1.maven.org/maven2/jmdns/jmdns/1.0/jmdns-1.0.jar Try that one, I'll keep looking at 2.0 (they don't call me the upgrade- a-tron for nothing). cheers, Paul On 21/01/2009, at 8:32 AM, Paul Smith

Re: Can't get basic Zeroconf example to work.

2009-01-20 Thread Paul Smith
I now notice that JmDns has a 2.0 available, which is probably the issue here. Could you download 1.0 and replace it (looking at sourceforge, they don't appear to publish older jars, weird, if you like I can send you the jmdns 1.0 jar in a separate, direct email)? I You're definitely

Re: Future of JULI-Log4j bridging

2008-09-17 Thread Paul Smith
On 17/09/2008, at 6:25 PM, Brett Randall wrote: 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

Re: log4j files and parsing and presentation

2008-09-16 Thread Paul Smith
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: [EMAIL

Re: log4j files and parsing and presentation

2008-09-16 Thread Paul Smith
On 17/09/2008, at 11:35 AM, Reza Razavipour wrote: Yes, this is a great tool. What I need to do is to do this programatically. So, the application, at any point in time, will have targets that have log4j log files. At user's request, which would be a get of all files, with some date/time

Re: network logging performance

2008-09-04 Thread Paul Smith
[oops, I originally sent this reply direct to Johannes. Copying again the list] On 04/09/2008, at 4:19 PM, Johannes Gutleber wrote: Dear Paul, On Sep 4, 2008, at 03:31 , Paul Smith wrote: If anyone out there is using Logging over the network of any form (socket, JMS, Multicast, syslog

Re: Variable expansion in PropertyConfigurator

2008-08-14 Thread Paul Smith
The only workaround I can think of is to subclass FileAppender, give it a setter method called setSystemPropertyDirPrefix, then in log4j.properties refrain from File=${user.home}. Instead, I'd use SystemPropertyDirPrefix=user.home (no variable) and within the coded FileAppender subclass do the

Re: NDC, MDC, or log.debug( new MyLogObj( my message, context ) )?

2008-08-05 Thread Paul Smith
3) Use MDC. private static final Logger log = Logger.getLogger( job ); Integer jobId = new Ingteger(1); MDC.put( jobid, jobId ); log.error( Job failed!, exception ); MDC.remove( jobid ); This would be my recommended approach from experience. One day

Re: ConsoleAppender and closing an SSH session

2008-07-31 Thread Paul Smith
Well I'm not convinced that this is completely unrelated to log4j. This set of apps has run for 8 years in one form or another and has been scripted to survive a logout. Now, with no changes except the introduction of log4j, the behavior has changed. In your configuration example, you're

Re: Log4J on Clustered Env.

2008-07-30 Thread Paul Smith
On 31/07/2008, at 7:19 AM, Chris Gilliam wrote: Curious if anyone has any information about running Log4J in a clustered Environment. Also, using rolling log files in a clustered environment. Curious what will happen to the rolling logs since servers will probably not be on the exact time

Re: Log Files per Workstation

2008-06-30 Thread Paul Smith
application and bring the server to a crawl while logging a few hundred workstations. Thanks in advance. Chris Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299

Re: Thread Specific Appender

2008-04-10 Thread Paul Smith
I actually don't need it.. Someone else needed it and I just proposed an idea. cheers, Paul On 10/04/2008, at 5:09 PM, Britton, David wrote: Paul Smith wrote: Nothing specific that I know of since I wrote that email. Love to hear how you end up solving this. Hi Paul -- How were you

Re: Thread Specific Appender

2008-04-09 Thread Paul Smith
specific that I know of since I wrote that email. Love to hear how you end up solving this. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Everybody's logging but me

2008-03-12 Thread Paul Smith
_ Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: [EMAIL PROTECTED] www.aconex.com This email and any attachments are intended solely for the addressee

Re: Everybody's logging but me

2008-03-12 Thread Paul Smith
On 13/03/2008, at 8:30 AM, Clinton Weiss wrote: Paul Smith wrote: I'd suggest starting by adding 'log4j.debug=true' to your configuration file (or as a system property). You may be surprised to see something reconfiguring behind your back. cheers, Paul Paul, I'm glad you brought

Re: Different levels to different appenders

2008-02-26 Thread Paul Smith
On 27/02/2008, at 12:51 AM, Mikael Ståldal wrote: Paul Smith skrev: If this truly is what you want, Are you implying that it would be a bad idea? Why would it be a bad idea? Why not simply have all the events your interested in together, in context, in one log file? Have one File

Re: Different levels to different appenders

2008-02-25 Thread Paul Smith
On 21/02/2008, at 11:00 PM, Mikael Ståldal wrote: I have two appenders, MAIN_LOG and DEBUG_LOG. I have the loggers set up to match Java class hierarchy as recommended. I have two interesting codebases, com.mycompany and com.othercompany. I want to send DEBUG and higher from com.mycompany

Re: How do receivers work?

2008-02-20 Thread Paul Smith
On 21/02/2008, at 8:07 AM, bakermatt wrote: What Logger does a receiver post its LoggingEvents to? I can't find it anywhere in the LoggerRepository and it's driving me crazy. I'm getting all the messages from the Receiver itself, but none of the messages that the Receiver is bringing

Re: Logging events in Applet to server using log4j?

2008-02-19 Thread Paul Smith
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61

Re: How do receivers work?

2008-02-19 Thread Paul Smith
I've spent the last couple weeks attempting to work the the Apache Receivers but to no avail. Could someone explain to me exactly how you get the LoggingEvents out of a receiver once they arrive? A Receiver 'posts' the received LoggingEvent into the local log4j system just as if the

Re: How do receivers work?

2008-02-19 Thread Paul Smith
On 20/02/2008, at 11:32 AM, bakermatt wrote: Ok, So I got it so that the LoggingEvents get dispatched to my Appender but ALL of the Events get posted there, even the INFO and DEBUG events coming from the Receiver itself. How can I isolate the incoming messages from the messages being

Re: debug messages on chainsaw

2008-02-13 Thread Paul Smith
root level value=INFO/ /root /log4j:configuration What am I doing wrong? Thanks in advance for your help Ciao Giordano Cerizza Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240

Re: Handling Logging Events Directly

2008-02-11 Thread Paul Smith
I'm trying to use the log4j Receivers to bring the logging events that post to those files (or any type of receiver (appender?, let me know if I'm getting the terminology wrong)) back into my system to handle them. I need to grab the events as the Receiver gets them so I can convert them

Re: Handling Logging Events Directly

2008-02-11 Thread Paul Smith
I am working on a system implementing the log4j receivers that requires me to directly access the LoggingEvent when it is posted to an appender. The basic idea is to take external logging events, read them in through a Receiver, and store data about them. Someone please let me know if

Re: JUL Bridge Question

2007-11-08 Thread Paul Smith
On 09/11/2007, at 11:18 AM, Joshua ChaitinPollak wrote: The JUL Log4j bridge has been working great for us, but I'm wondering, doesn't it set the JUL root level logging to FINEST? If that is the case, what if some 3rd party library has code like if (log.isFinerEnabled() ) {

Re: Production configuration

2007-11-07 Thread Paul Smith
On 08/11/2007, at 2:18 AM, Phillip Mills wrote: Thanks, I'll try. I hadn't discovered that as an option. actually the most efficient way is to get the LoggerRepository object and set that threshold to OFF. When deciding whether appenders get to see an event, the LoggerRepository's

Re: Log4j not logging hibernate

2007-11-03 Thread Paul Smith
On 03/11/2007, at 11:42 PM, wild_oscar wrote: The hibernate docu says show_sql: Write all SQL statements to console. This is an alternative to setting the log category org.hibernate.SQL to debug As an alternative, the org.hibernate.SQL log4j property should work. The problem is that I

Re: Log4j not logging hibernate

2007-11-02 Thread Paul Smith
a Hibernate question. If you actually dig into the Hibernate source code you will find that it will not log anything unless that Hibernate property is set. This is not something log4j has control over. cheers, Paul Smith

Re: jul-log4j bridge question

2007-10-30 Thread Paul Smith
On 31/10/2007, at 4:10 AM, Joshua ChaitinPollak wrote: Thank you Paul! Your updated snapshot worked like a charm. I've already integrated it into our build systems, and idea when jul- log4j-bridge and log4j-component will be released as non -SNAPSHOT versions? Feedback from users that it

Re: Alternative Logger naming strategies?

2007-10-30 Thread Paul Smith
On 31/10/2007, at 6:57 AM, Paul Duffy wrote: Hi, Wrestling with some product requirements. My app will be deployed to a JEE container, which is using the typical class based Logger naming convention. The beans deployed to the container need finer grained control of the logging event

Re: Chainsaw display UTF-8 encoding problem

2007-10-30 Thread Paul Smith
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200

Re: jul-log4j bridge question

2007-10-29 Thread Paul Smith
On 30/10/2007, at 10:34 AM, Joshua ChaitinPollak wrote: On Fri, 2007-10-26 at 07:59 +1000, Paul Smith wrote: On 26/10/2007, at 5:26 AM, Joshua ChaitinPollak wrote: If you had the time, crafting a unit test based on the other unit tests in the bridge project would be most useful to demonstrate

Re: log4j plugin (jul-log4j-bridge)

2007-10-25 Thread Paul Smith
On 26/10/2007, at 4:57 AM, Joshua ChaitinPollak wrote: Hello, I'm trying to try out the jul-log4j bridge, but I'm not sure if it is possible to enable in from within log4j.properties, rather than programmatically. Our project configures log4j with a flat properties file, rather than

Re: jul-log4j bridge question

2007-10-25 Thread Paul Smith
On 26/10/2007, at 5:26 AM, Joshua ChaitinPollak wrote: So, avoiding my earlier question, I enabled the jul bridge using JULLog4jBridge.assimilate();, but it seems to set all JUL logging at TRACE level. Could this be because I called .assimilate() before I configured logging? What else

Re: java.util.logging and log4j on same application

2007-10-24 Thread Paul Smith
the format seems to match up with the dtd? Thanks, David Robison Paul Smith wrote: On 24/10/2007, at 1:53 AM, Curt Arnold wrote: On Oct 23, 2007, at 8:22 AM, David R Robison wrote: We have an application that uses log4j as its logger. However, it uses a third-party library that uses

Re: java.util.logging and log4j on same application

2007-10-23 Thread Paul Smith
On 24/10/2007, at 1:53 AM, Curt Arnold wrote: On Oct 23, 2007, at 8:22 AM, David R Robison wrote: We have an application that uses log4j as its logger. However, it uses a third-party library that uses java.util.logging. Is it possible to get the java.util.logging logger to log through

Re: Question: Chainsaw usage

2007-10-22 Thread Paul Smith
On 20/10/2007, at 7:51 PM, Owe Andresen wrote: Hello, (@first, im new to this list). 1. I write a sutom receiver for our log-message formats. What bothers me is that i have to open the recevers configuration file each time when i start Chainsaw. Why don't you configure the URL of the

Re: Thread-specific appenders

2007-10-17 Thread Paul Smith
? Cheers, Aditya On 10/16/07, Paul Smith [EMAIL PROTECTED] wrote: I started work on a Multiplexing Appender a while back that had a similar reason to exist (some people want files-per-level, for what reason I have no idea). I got stuck. Unfortunately there's no way in the configuration mechanism

Re: Thread-specific appenders

2007-10-16 Thread Paul Smith
not). Thanks! Aditya - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street

Re: Question: Does Chainsaw read non XML logs?

2007-09-18 Thread Paul Smith
written by Log4j in plain text format? Thank you, Bernard Siegel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save

Re: Log4j XMLSocketReceiver plugin problem

2007-09-18 Thread Paul Smith
jdk1.6.0_02 on Windows XP 2002.) Any help with this would be greatly appreciated. Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: [EMAIL PROTECTED

Re: Chainsaw V2 help

2007-09-03 Thread Paul Smith
. Please help!!! Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke

Re: Centralized logging for distributed loggers.

2007-08-28 Thread Paul Smith
interface is on the way. This is inspired by the commercial Splunk application (which I haven't tried personally, just read about what they're trying to achieve). I'm hoping to provide a much better and free alternative! :) cheers, Paul Smith

Re: Looking for high speed binary appender?

2007-08-01 Thread Paul Smith
On 02/08/2007, at 9:23 AM, Paul Duffy wrote: Folks, My team is looking at log4j as a next generation logging option, but we have a specific customer need to do high volume logging which a text based system may not support. Is anyone aware of a high speed binary logging capability that

Re: Chainsaw

2007-07-11 Thread Paul Smith
On 12/07/2007, at 7:08 AM, Braught, Debi Lyn wrote: Does anyone have or know where to get the lastest source code for Chainsaw v2? I didn't see the source code included in the lastest log4j bits. I only find the source code for Chainsaw v1.

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread Paul Smith
] Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: [EMAIL PROTECTED] www.aconex.com This email and any attachments are intended solely for the addressee

Re: SocketHubAppender

2007-07-05 Thread Paul Smith
constitute a binding agreement for provision of services by TSI, which is subject to the terms and conditions of TSI's standard schedule for Terminal Tariffs which is also available at http://www.tsi.bc.ca. Paul Smith Core Engineering Manager Aconex The easy way to save time and money

Re: JMSAppender to ActiveMQ..:).

2007-06-28 Thread Paul Smith
I'll then see if I can work out the configuration details required to get Chainsaw to join in and see Logging Events. It's definitely doable, I just don't have all the info as yet. Ok, simplistic test case here, using the class and jndi.properties shown further below, which depends on

Re: JMSAppender to ActiveMQ..:).

2007-06-28 Thread Paul Smith
Next I'll work out how to get Chainsaw to replace the conusmer test as the client. Success! Here's the steps. * Create a file that contains Receiver configuration for Chainsaw: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Paul Smith
So, to rephrase, you really need a remote logging viewer? Something that could attach to an application and show logging events being generated by that application? Or does the consumer application you speak of need to do something different with the events? On 27/06/2007, at 8:12 PM,

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Paul Smith
On 28/06/2007, at 11:31 AM, Misty Thornton wrote: Paul, Yes, all I need is an application using JMSAppender to send log messages to a message queue and then another application which can consume these messages and make them 'viewable'. I have got the SMTPAppender part working, which

Re: JMSAppender to ActiveMQ..:).

2007-06-27 Thread Paul Smith
On 28/06/2007, at 11:58 AM, Misty Thornton wrote: Paul, Thanks for introduction to a great tool. Okay, this is the situation that I am inWe have a huge application which is already using ActiveMQ and 'the powers that be' want to go the ActiveMQ route. Having said that Chainsaw

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
. Misty. Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street, Melbourne, VIC 3000, Australia Tel: +61 3 9240 0200 Fax: +61 3 9240 0299 Email: [EMAIL PROTECTED] www.aconex.com This email and any attachments are intended solely

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
On 27/06/2007, at 9:42 AM, Misty Thornton wrote: Paul, Thanks a bunch for the response. I really appreciate it. I ran the JMSAppenderTest class and everything seemed just fine but when I am trying to find the 'topic' using my jconsole I am not finding jmsappendertest. This might be a

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
On 27/06/2007, at 10:45 AM, Misty Thornton wrote: Paul, I am using ActiveMQ 4.1.1. What if I use.. Destination destination = session.createTopic(CUST01.TOPIC1); Do you think that might help? I will go ahead and test it but please feel free to give me any input you may have. My boss is

Re: JMSAppender to ActiveMQ..:).

2007-06-26 Thread Paul Smith
On 27/06/2007, at 1:29 PM, Misty Thornton wrote: Paul, Thanks a lot for guiding me through this process. I have tested your Test class in a project mode and it passes the test. I just added a main (is this even the right way to test it:)) and created an instance of the Test class and it

Re: Regarding Chainsaw config-Log panel tab

2007-06-20 Thread Paul Smith
=RollingFile/ /root /log4j:configuration thanks in advance. - Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. Paul Smith Core Engineering Manager Aconex The easy way to save time and money on your project 696 Bourke Street

Re: Regarding Chainsaw config-Log panel tab

2007-06-20 Thread Paul Smith
]. Removing root logger from top of stack. Will stop writing internal logs on console. Finished parsing. Using 'file:///c:/test2.xml' for auto-configuration in run-about to enter while not interrupted loop thanks Paul Smith [EMAIL PROTECTED] wrote: try using %d{ISO8601} instead of just %d

Re: Chainsaw Configuration

2007-06-20 Thread Paul Smith
of your help. Regards, Paul Smith [EMAIL PROTECTED] wrote: Are you able to build a short version of your log file that you are trying to drag and drop into Chainsaw and point out examples of rows that are being dropped? If you can post this to the list, we might be able to help. Paul

Re: Chainsaw config problem

2007-06-20 Thread Paul Smith
On 21/06/2007, at 2:50 PM, akshay kumar wrote: Hi Paul, great!!..It is working fine now! However I got few more confusions!!..:( 1) As I am using pattern layout, I am not able to Drag and Drop this file into my chainsaw And if I use XML layout instead of patternlayout the

Re: Please help- Chainsaw Configuration

2007-06-18 Thread Paul Smith
Time 2007-06-18 11:50:02,223 in the chainsaw log panel timestamp=1182185402223- in the log file Since you are using the XMLLayout for the log file being written to disk, this is the way that layout outputs the Timestamp, using the epoch timeformat of

Re: Location Information in Chainsaw

2007-06-18 Thread Paul Smith
information to be displayed? Thanks, Quinn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Core Engineering Manager Aconex The easy way to save time and money

Re: Please help- Chainsaw Configuration

2007-06-18 Thread Paul Smith
, Thanks for your help, I can try another format, how ever can you please look into my other problems that I previously described? That are regarding skipping some logs and drag and drop xml file error!!! regards, Paul Smith [EMAIL PROTECTED] wrote: Time 2007-06-18 11:50:02,223

Re: Logging Domains

2007-03-22 Thread Paul Smith
What if you had multiple calls to getLogger with the same logger name, but different sets of domain names? An unlikely scenario if you were using class name based loggers, but could be common if you used other naming strategies. I can't see a way around that one, but most people use

Logging Domains

2007-03-21 Thread Paul Smith
object. Anyway, I thought I'd post this for discussion and feedback. We're having a Hackathon next week at Aconex, so one of us might take a crack at this and seeing what it looks like. Comments appreciated. Paul Smith Core Engineering Manager Aconex The easy way to save time and money

Re: Use category to limit by package name possible?

2007-01-16 Thread Paul Smith
(debug,info)? Thanks Lisa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Paul Smith Engineering Manager Aconex The easy way to save time and money on your project 696

Re: chainsaw with logj-1.3-alpha8

2006-07-12 Thread Paul Smith
On 13/07/2006, at 5:02 AM, Ricardo Trindade wrote: Hi, I'm trying chainsaw with the ZeroConf appender in logj4-1.3- alpha8, and it doesn't seem to work. I get : java.lang.NoSuchMethodError: org.apache.log4j.spi.ComponentBase.access$301(Lorg/apache/log4j/net/

Re: ZeroConfigHubAppender error

2006-06-22 Thread Paul Smith
And the troubles start: Chainsaw detects the new ZeroConf appender, and given the fact it's from the same station and name, Chainsaw autoconnects to it. But... in the Receivers tree, my app appears twice, AND the log entries appear twice, too. If I repeat the process from step 3, a new

Re: ZeroConfigHubAppender error

2006-06-21 Thread Paul Smith
, Paul Smith On 21/06/2006, at 7:19 PM, Raúl Santiago wrote: I've done as suggested. It has worked smoothly, by manually configuring the Appender in the app and the Receiver in Chainsaw. So, as it was just a test of the coolness of the ZeroConf Chainsaw feature, I'm not desperate to make

Re: ZeroConfigHubAppender error

2006-06-20 Thread Paul Smith
to see what happens. cheers, Paul Smith smime.p7s Description: S/MIME cryptographic signature

Re: why would the following result in duplicate log messages?

2006-05-31 Thread Paul Smith
, because the log gets output when it hits the root logger (and it's attached appender). cheers, Paul Smith On 01/06/2006, at 3:19 PM, tony kerz wrote: log4j 1.3alpha8 TestLog.java: package com.kerz.test; import

Re: Chainsaw feature requests

2006-04-27 Thread Paul Smith
On 28/04/2006, at 12:27 AM, Wim Deblauwe wrote: Hi, I'm using chainsaw for a few weeks now. We use it to look at the xml files that are generated by our application. If you can find the time, it would be nice to have the following features: - reload the xml file from the context menu

Re: chainsaw v2 source code ?

2006-03-19 Thread Paul Smith
On 17/03/2006, at 9:11 PM, Maciej Gawinecki wrote: Where can I get source code for Chainsaw v2 open source project ? There is no link to that on the: All Source code repositories are listed here (at the moment) http://logging.apache.org/site/repositories.html You're right, a link to the

Re: [Chainsaw]: New bundles created for general consumption

2006-03-08 Thread Paul Smith
Okay I got that working. It wasn't clear that this was an installation of the software I could use on Windows. Remember Windows XP and so on are no longer based on DOS, so actually maybe you could call it a non-Webstart (or normal) distribution, and explain on the page that it includes shell

Re: chainsaw timestampFormat and relative dates

2006-02-14 Thread Paul Smith
Jake, I'm not 100% sure if this is relevant, but I could not get the SCP ant task to work (which uses JSch) without using certificate authentication (see the build.xml in the chainsaw tree, in the distribution target, it copies the distribution over scp). If you set up SSH key

Re: JmsAppender bug?

2006-02-04 Thread Paul Smith
dev team before adding that to the fold. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Chainsaw: release_20060202 updated

2006-02-02 Thread Paul Smith
via webstart. That's when webstart reported the error above. Looks like something's not quite right. Jake Quoting Paul Smith [EMAIL PROTECTED]: Latest 'release' bundle (alpha) of Chainsaw is now available. Webstart version should auto-update, OSX and DOS/Unix version available from: http

Re: Chainsaw: release_20060202 updated

2006-02-02 Thread Paul Smith
Scott's suggestion for clearing the browser cache (in this case, Seamonkey) seems to have done the trick! It launches just fine now :-) Excellent, that's good to hear, I may have to add some docs about this, as I've seen this sort of thing come up from time to time. Here's the first 7

Re: JmsAppender bug?

2006-02-02 Thread Paul Smith
What is really needed is some unit tests around this appender. Apparently, it has been doubly broken in log4j 1.3 for a long time. I did this patch from observation and haven't attempted to set up a test, let me know if gets you any further. There's the possibility of using activemq

Re: JmsReceiver Chainsaw problem

2006-02-01 Thread Paul Smith
To test the theory of jmsAppender being bad, perhaps you can use Hermes to browse the ActiveMQ Topic to see if it's sending the events correctly? http://www.hermesjms.com/ Straightforward to configure, give me a hoi if you have trouble getting activemq hermes working together. Paul On

Re: logger as a Jini service?

2006-02-01 Thread Paul Smith
This is coming RSN, seriously I promise., I just want to get the next version of Chainsaw out with the latest in the distribution mechanism, and then complete the ZeroConf stuff and then release that. A lot of the remaining is tidying up the documentation, however I have been side tracked

Chainsaw: release_20060202 updated

2006-02-01 Thread Paul Smith
of gremlins there, please report anything that you find. cheers, Paul Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Debug messages going to wrong appender

2006-01-03 Thread Paul Smith
you additivity configuration snippet is close but no cigar, try: log4j.additivity.org.hibernate=false see http://logging.apache.org/log4j/docs/api/org/apache/log4j/ PropertyConfigurator.html#doConfigure(java.lang.String,% 20org.apache.log4j.spi.LoggerRepository) cheers, Paul On

Re: how to load a receiver upon Chainsaw startup

2005-12-14 Thread Paul Smith
If you actually read Scott's text properly below, he does say you have to create your own XML config file, then place a URL reference to it in the Application preferences (set the value of the 'automatic configuration' property). Paul On 15/12/2005, at 5:09 AM, Mark wrote: OK, so I see

Re: How to carry fwd log messages from multiple Loggers to a single logger

2005-12-13 Thread Paul Smith
post your log4j configuration file, this will help a lot.. On 13/12/2005, at 11:04 PM, Sriram Venkatasubramanian wrote: With RollingFileAppender , I am not getting any log - MDC keys. ( I have given the pattern %X{Key}... Any idea ? -Original Message- From: Paul Smith [mailto:[EMAIL

Re: How to carry fwd log messages from multiple Loggers to a single logger

2005-12-13 Thread Paul Smith
/ appender-ref ref=ACPTORDER_CONTROLLER/ /logger root /root /log4j:configuration -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 3:18 AM To: Log4J Users List Subject: Re: How to carry fwd log messages from multiple Loggers

Re: How to carry fwd log messages from multiple Loggers to a single logger

2005-12-11 Thread Paul Smith
(OrderID); cheers, Paul Smith On 10/12/2005, at 5:44 PM, Sriram Venkatasubramanian wrote: Hi , I have a distinct logger at three layer ( DAO, Service, Controller) which all writing to one file as DEBUG 2005-12-09 19:29:37,422 Create Order: DAO :1301 DEBUG 2005-12-09 19:29:37,429 Create

Re: VFSLogFilePatternReceiver usage?

2005-12-09 Thread Paul Smith
The VFS plugin (a separate tab in Chainsaw that displays your local file system, not the same as VFSLogFilePatternReceiver) is not fully working - I think we should take it out until we have time to complete it. Yep, comment that out for now, it's not of any use. I'm going to try and

Re: VFSLogFilePatternReceiver usage?

2005-12-08 Thread Paul Smith
First question, did you tick the Ok to remove SecurityManager in the application preferences? If this is not ticked, particularly with the Webstart version it's impossible load stuff from the plugins directory. By ticking this box, you turn off the SecurityManager, and allow a TCL to be

Re: Silly ? - How do I figure out the name of the file the log is being written to?

2005-12-01 Thread Paul Smith
if this is your log4j.properties:On 02/12/2005, at 6:40 AM, Burton Strauss wrote:log4j.rootLogger=debug,test log4j.appender.test=org.apache.log4j.DailyRollingFileAppender log4j.appender.test.Append=false log4j.appender.test.File=testbed.log log4j.appender.test.layout=org.apache.log4j.SimpleLayout

Re: Silly ? - How do I figure out the name of the file the log is being written to?

2005-12-01 Thread Paul Smith
On 02/12/2005, at 8:03 AM, Burton Strauss wrote: That's easy ... console output is from System.out.println(). How else are you going to test the logger if you can't trust it... :-) Umm, in your original post you had log4j logging in the test: Appender t =

Re: log4j multithreading performance

2005-12-01 Thread Paul Smith
LF5 has been removed in log4j1.3 (replaced by Chainsaw v2. Paul On 02/12/2005, at 1:39 PM, Trenton D. Adams wrote: Hi guys, Please don't take this as bad criticism. I'm just trying to provide some *useful* insights. And besides, I think you guys are doing a great job on log4j. I just

Re: Silly ? - How do I figure out the name of the file the log is being written to?

2005-12-01 Thread Paul Smith
] to be rolled at midnight. log4j: Parsed test options. log4j: Finished configuring. Logger #1 is test getAllAppenders() returned NullEnumeration --- TIA! -Burton -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: Silly ? - How do I figure out the name of the file the log is being written to?

2005-11-30 Thread Paul Smith
are you creating the FileAppender with code, or via the log4j configuration mechanism (ie log4j.properties/xml) ? Paul On 01/12/2005, at 3:09 PM, Burton Strauss wrote: (For want of a better explanation, I want to use system.out.println () to tell the user where to look for the log file)

Re: threading issue with log4j

2005-11-23 Thread Paul Smith
What about wrapping the SyslogAppender in a AsyncAppender.? Clearly the Syslog appender is taking a lot longer to flush the logs than a file appender is. That would at least improve your throughput. Paul On 24/11/2005, at 1:24 AM, Chris Berry wrote: SyslogAppender On 11/23/05, Paul

  1   2   3   >