RE: Duplicate log entries - 1 last issue

2005-09-23 Thread Schuweiler, Joel J.
Except he wants two different levels, he wants one level to go to blah, and another level to go to blah. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Stauffer Sent: Friday, September 23, 2005 3:26 PM To: Log4J Users List Subject: Re: Duplicate

RE: Duplicate log entries - 1 last issue

2005-09-23 Thread Schuweiler, Joel J.
--- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 11:57 AM To: 'Log4J Users List' Subject: RE: Duplicate log entries - 1 last issue The root section is called every time a logging section is received. Any logging events where the logger name star

RE: Duplicate log entries - 1 last issue

2005-09-23 Thread Schuweiler, Joel J.
The root section is called every time a logging section is received. Any logging events where the logger name starts with org.apache causes that logging section to be used IN ADDITION to the root section. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: Article: Yahoo Messenger Appender

2005-09-16 Thread Schuweiler, Joel J.
channel may not like that so much! (depending on how many users configure the appender to send errors to the channel) -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Friday, September 16, 2005 9:08 AM To: 'Log4J Users List' Subject: RE: Article: Yahoo

RE: Article: Yahoo Messenger Appender

2005-09-16 Thread Schuweiler, Joel J.
vel logger. See a screenshot and get source code here: http://wiki.apache.org/logging-log4j/ChainsawHelp I'll add Jabber and JXTA appenders and receivers eventually as well. May not be useful to anyone, but there you go. Scott -Original Message- From: Schuweiler, Joel J. [mailto:[

RE: Article: Yahoo Messenger Appender

2005-09-16 Thread Schuweiler, Joel J.
te an XMLSocketAppender because log4j already provides a way to send events over TCP: SocketAppender. If other frameworks started writing receivers, then there would be a reason to write an XMLSocketReceiver. Scott -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Fri

RE: Article: Yahoo Messenger Appender

2005-09-16 Thread Schuweiler, Joel J.
tember 16, 2005 8:33 AM To: 'Log4J Users List' Subject: RE: Article: Yahoo Messenger Appender Also I also guess ym doesn't receive the message from same user more than 2 times unless the receiver responds back with some message. -Original Message- From: Schuweiler, Joe

RE: Article: Yahoo Messenger Appender

2005-09-16 Thread Schuweiler, Joel J.
Re-connect everytime since you're making the new YahooMessengerAPI every time. Seems a bit taxing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Grabowski Sent: Friday, September 16, 2005 8:29 AM To: Log4J Users List Subject: Re: Article: Yahoo Mess

RE: Problems to use Chainsaw V2 using SocketAppenders

2005-09-06 Thread Schuweiler, Joel J.
I have the same setup and have no issues with receiving events. I would make sure you're using the right port. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siegfried Goeschl Sent: Tuesday, September 06, 2005 12:43 PM To: log4j-user@logging.apache.org

RE: Chainsaw

2005-08-25 Thread Schuweiler, Joel J.
s) - DBAppender/DBReceiver (requires a DB) - LogFileAppender and LogFilePatternReceiver or VFSLogFilePatternReceiver (requires network access accessible as a file or a VFS-supported file system, which includes SSH) There may be other ways, I just can't think of them. -Original Message----- Fr

RE: Chainsaw

2005-08-25 Thread Schuweiler, Joel J.
I should mention that the multiple chainsaw locations have dhcp ip addresses and could change at any time. I would like to not have to change the config file every time someone had an ip change. -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Thursday

Chainsaw

2005-08-25 Thread Schuweiler, Joel J.
Is it possible to have three users running chainsaw all get logging information from one application? Joel Schuweiler Middleware [EMAIL PROTECTED] Tel: 8-7900

RE: WriterAppender to sockets

2005-08-17 Thread Schuweiler, Joel J.
As far as I understand log4j takes the log object and serializes it before sending it via socketappender. I have a feeling this will greatly limit "complete control". -Original Message- From: Benjamin David [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 10:41 AM To: Log4J

RE: Including the PID in the ConversionPattern?

2005-08-12 Thread Schuweiler, Joel J.
Use mdc. -Original Message- From: Lee P. Reilly [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 12:27 PM To: log4j-user@logging.apache.org Subject: Including the PID in the ConversionPattern? Hi guys, Can you tell me if there a way that I can use set the ConversionPattern in L

RE: Log4j, websphere, rad, and log4j.xml location

2005-08-11 Thread Schuweiler, Joel J.
es for initializing log4j in a web application if you have a different name for your file or want it to live in a different place. There are servlets and app context listeners that can be configured to locate the file and then use it to configure. -Mark > -----Original Message- > From

RE: Log4j, websphere, rad, and log4j.xml location

2005-08-11 Thread Schuweiler, Joel J.
properties in a file with ".xml" for the file type, you should be using DOMConfigurator. Is the file in property or xml format? -Mark > -Original Message----- > From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 2:11 PM > To: 'Log4J U

RE: Log4j, websphere, rad, and log4j.xml location

2005-08-11 Thread Schuweiler, Joel J.
] Sent: Thursday, August 11, 2005 4:16 PM To: Log4J Users List Subject: Re: Log4j, websphere, rad, and log4j.xml location The absolute path Schuweiler, Joel J. wrote: >For which of the issues? > >-Original Message- >From: Jan Pernica [mailto:[EMAIL PROTECTED] >Sent: Thur

RE: Log4j, websphere, rad, and log4j.xml location

2005-08-11 Thread Schuweiler, Joel J.
You sure that is how you are configuring? PropertyConfigurator cannot process xml files. -Mark > -Original Message- > From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 2:02 PM > To: log4j-user@logging.apache.org > Subject: Log4j,

RE: Log4j, websphere, rad, and log4j.xml location

2005-08-11 Thread Schuweiler, Joel J.
do not provide file name but provide it as a resource stream Jan Schuweiler, Joel J. wrote: >I am trying to configure log4j using > >PropertyConfigurator.configure("log4j.xml"); > >I am however having an issue. I never receive a logging event. When I look at >the

Log4j, websphere, rad, and log4j.xml location

2005-08-11 Thread Schuweiler, Joel J.
I am trying to configure log4j using PropertyConfigurator.configure("log4j.xml"); I am however having an issue. I never receive a logging event. When I look at the websphere log, log4j says it is unable to find log4j.xml. I'm using RAD (IBM's Rappid Application Developer) to write the program

RE: Duplicate logging messages

2005-08-10 Thread Schuweiler, Joel J.
I bought the book a few years ago has it been updated? And I can't find it now so am wondering if it is worth buying again for more info? -----Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 12:45 PM To: 'Log4J Users List'

RE: Duplicate logging messages

2005-08-10 Thread Schuweiler, Joel J.
thanks for the fast responses it helps. http://jakarta.apache.org/log4j/";> -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday, Augu

RE: Duplicate logging messages

2005-08-10 Thread Schuweiler, Joel J.
ubject: RE: Duplicate logging messages I would like to set the default log level for the appender = BatchLogFile to be info and then use the category syntax to set the log level for specified classes to debug. -Original Message----- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: Duplicate logging messages

2005-08-10 Thread Schuweiler, Joel J.
er? I am asking how do I change this? -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 12:09 PM To: 'Log4J Users List' Subject: RE: Duplicate logging messages Your root logger, and your category/logger both call the same

RE: Duplicate logging messages

2005-08-10 Thread Schuweiler, Joel J.
Your root logger, and your category/logger both call the same appender. -Original Message- From: Harp, George [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 12:07 PM To: 'log4j-user@logging.apache.org' Subject: Duplicate logging messages Hello I am using log4j.1.2.9.jar and

RE: Inheriting configuration

2005-08-09 Thread Schuweiler, Joel J.
You can include using xml one deep, as was once suggested to me but there are HUGE limitations on this. I ended up writing a pearl script to do what I needed. The Jakarta's Commons Configuration could have probably done what I wanted but I chose not to even look into it given what I had to work

RE: Need properties files example for multiple output files

2005-08-09 Thread Schuweiler, Joel J.
Should you be using category or logger to do that? -Original Message- From: Javier Gonzalez [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 9:10 AM To: Log4J Users List Cc: [EMAIL PROTECTED] Subject: Re: Need properties files example for multiple output files First define your

RE: jms appender

2005-08-09 Thread Schuweiler, Joel J.
r jms/jdbc? On 8/8/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > > Have you looked at the socket stuff? That's what I currently use. > > -Original Message- > From: Mark Lybarger [mailto:[EMAIL PROTECTED] > Sent: Monday, August 08, 2005 10:37 AM > To

RE: jms appender

2005-08-08 Thread Schuweiler, Joel J.
Have you looked at the socket stuff? That's what I currently use. -Original Message- From: Mark Lybarger [mailto:[EMAIL PROTECTED] Sent: Monday, August 08, 2005 10:37 AM To: Log4J Users List Subject: jms appender we're interested in creating a centraliszed logging solution. we'd also li

RE: Log4j config file on Websphere

2005-07-29 Thread Schuweiler, Joel J.
Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 11:00 AM To: 'Log4J Users List' Subject: RE: Log4j config file on Websphere I'm assuming your using rational (the end of the world) -Original Message- From: Schuweiler, Joel J.

RE: Log4j config file on Websphere

2005-07-29 Thread Schuweiler, Joel J.
I'm assuming your using rational (the end of the world) -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 10:59 AM To: 'Log4J Users List' Subject: RE: Log4j config file on Websphere Did you import the file or just drag

RE: Log4j config file on Websphere

2005-07-29 Thread Schuweiler, Joel J.
remain intent on prepending C:\Program Files\WebSphere\AppServer? Sigh. -S -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 11:55 AM To: 'Log4J Users List' Subject: RE: Log4j config file on Websphere I have no issues with putti

RE: Log4j config file on Websphere

2005-07-29 Thread Schuweiler, Joel J.
I have no issues with putting the xml file in websphere as long as I ALSO put the doctype (.dtd file) in the same dir as the config file. -Original Message- From: Steve Pruitt [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 10:32 AM To: Log4J Users List Subject: Log4j config file

RE: Modularizing XML configuration files (Re: Error using NullAppender in )

2005-07-22 Thread Schuweiler, Joel J.
, Schuweiler, Joel J. wrote: > Well I'm looking at 3 appenders and 3 loggers for each project. I > have roughly 200 projects. I am looking for any idea's on how to > best scale my log4j.xml file to handle this. I bought the > commercial manual but I don't see any

Log4j + jsf

2005-07-20 Thread Schuweiler, Joel J.
I am trying to use log4j from a jsf, or java server faces, page. The jsf is being hosted by a websphere server (6.0.1) and no matter what I do I can't seem to get it to connect to the remote socket. I am not getting errors logged anywhere as to why either. A servlet hosted by the same websphere

RE: jms appender

2005-07-08 Thread Schuweiler, Joel J.
s way will try it out anyway and let you know jubs Schuweiler, Joel J. wrote: >All the options get handled with > >One of my biggest gripes with the commercial manual for log4j is that for each >of the appenders they sh

RE: jms appender

2005-07-08 Thread Schuweiler, Joel J.
All the options get handled with One of my biggest gripes with the commercial manual for log4j is that for each of the appenders they show no property or xml configuration examples which I think is key for people new to log4j -Original Message- From: Jubin Thomas Kuriakose [mailto:[EM

RE: Clarification

2005-07-06 Thread Schuweiler, Joel J.
If can't find the path, have you tried removed the leading ./? For a path I would do logs/framework.log assuming that it is contained in the same directory that your class is running from. -Original Message- From: Balaji Saranathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 20

RE: Patternlayout ?? question

2005-06-30 Thread Schuweiler, Joel J.
That's fine. This is on a remote machine, I can take the expense. -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 3:49 PM To: Log4J Users List Subject: Re: Patternlayout ?? question On Jun 30, 2005, at 3:32 PM, Schuweiler, Joel J.

Patternlayout ?? question

2005-06-30 Thread Schuweiler, Joel J.
I'm using the following in my socketserver xml configuration I wind up with log messages where the C L and l are question marks, how can I resolve this issue? - To unsubscribe, e-mail: [E

RE: log4j LoggingEvent repeater

2005-06-30 Thread Schuweiler, Joel J.
AM To: Log4J Users List Subject: RE: log4j LoggingEvent repeater I probably won't be allowed to put JBoss on the intermediate machine, although it does have a JRE. So I was hoping for a smaller, more self contained solution. Any other ideas? Todd. > -Original Message- > From:

RE: log4j LoggingEvent repeater

2005-06-30 Thread Schuweiler, Joel J.
Grab jboss, have it run a socketserver (see jboss wiki). Then have an appender setup for everything that comes in of whatever type you want. Socket, Chainsaw socket, etc. -Original Message- From: Bradley, Todd [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 10:47 AM To: Log4J

RE: Logging the exception message but not the stack trace?

2005-06-29 Thread Schuweiler, Joel J.
Good luck with the last part, you know, where the developer does something ;) -Original Message- From: Javier Gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 10:59 AM To: Log4J Users List Subject: Re: Logging the exception message but not the stack trace? Finally, the

RE: Modularizing XML configuration files (Re: Error using NullAppender in )

2005-06-29 Thread Schuweiler, Joel J.
: Error using NullAppender in ) On Jun 29, 2005, at 9:36 AM, Schuweiler, Joel J. wrote: > Well I'm looking at 3 appenders and 3 loggers for each project. I > have roughly 200 projects. I am looking for any idea's on how to > best scale my log4j.xml file to handle this. I bought

RE: FileAppender, RollingFileAppender, DailyRollingFileAppender

2005-06-29 Thread Schuweiler, Joel J.
Duh, ignore this. -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 10:07 AM To: 'log4j-user@logging.apache.org' Subject: FileAppender, RollingFileAppender, DailyRollingFileAppender I am using a DailyRollingFileAppender b

FileAppender, RollingFileAppender, DailyRollingFileAppender

2005-06-29 Thread Schuweiler, Joel J.
I am using a DailyRollingFileAppender but I would like to limit the size of the file and have it roll it if it reaches X size. I would also like to limit how many files it keeps around. RollingFileAppender seems to have an option MaxBackupIndex, does this work for DailyRollingFileAppender? Roll

RE: Error using NullAppender in

2005-06-29 Thread Schuweiler, Joel J.
AM, Schuweiler, Joel J. wrote: > You're kidding right? I say it works because, well, and this is a > toughie, it works. I just wanted to find out what was causing the > error. One of the design principles was that log4j should not introduce new failure modes for applications that

RE: Error using NullAppender in

2005-06-29 Thread Schuweiler, Joel J.
pender "CONSOLE" 7. Finally the root element. That *is* an arbitrary order contrary to the DTD. Christian -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 2:58 PM To: 'Log4J Users List' Subject: RE: Error usin

RE: Error using NullAppender in

2005-06-29 Thread Schuweiler, Joel J.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

RE: Error using NullAppender in

2005-06-29 Thread Schuweiler, Joel J.
; > > > > > > > > > > > > > > > > > > > > > > > >-Original Message- >From: Javier Gonzalez [mailto:[EMA

RE: Error using NullAppender in

2005-06-28 Thread Schuweiler, Joel J.
8, 2005 3:51 PM To: Log4J Users List Subject: Re: Error using NullAppender in I didn't get it... try copy-pasting it in the message body. On 6/28/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > It was attached to the email, did it not go through? > > -Original Messag

RE: Error using NullAppender in

2005-06-28 Thread Schuweiler, Joel J.
if we can help you with your problem? ;) On 6/28/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > > > <> > Log4j:ERROR Parsing error on line 82 and column 23 > Log4j:ERROR The content of element type "log4j:configuration" must match > " > J

Error using NullAppender in

2005-06-28 Thread Schuweiler, Joel J.
Title: Error using NullAppender in <> Log4j:ERROR Parsing error on line 82 and column 23 Log4j:ERROR The content of element type "log4j:configuration" must match " Joel Schuweiler Middleware [EMAIL PROTECTED] Tel: 8-7900 --

Exception not caught when a socketserver isn't running

2005-06-28 Thread Schuweiler, Joel J.
java.net.ConnectException: Connection refused: connect Get's thrown if there is no socket server to connect to. This is with log4j version 1.2.11 I don't think I experienced said behavior with 1.2.9 - To unsubscribe, e-mail: [E

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
: Filter based on category? Write an MDCFilter -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:52 PM To: 'Log4J Users List' Subject: RE: Filter based on category? The problem with this approach is there is no filter that will

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
t: Re: Filter based on category? On Jun 27, 2005, at 3:21 PM, Schuweiler, Joel J. wrote: > Knowing what server a log comes from isn't enough. I need to know > which application it's coming from. > > This could simply be achieved by requiring everyone to put a > certai

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
t: RE: Filter based on category? Write an MDCFilter -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:52 PM To: 'Log4J Users List' Subject: RE: Filter based on category? The problem with this approach is there is no filter that

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
The problem with this approach is there is no filter that will check the mdc information. StringMatchFilter ONLY matches on the message. -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:49 PM To: 'Log4J Users List' Subject:

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
n, add a string match filter to each appender, checking for the various identifiers. Not sure about this solution (never used filters), but it sounds good from an API point of view to a relative novice like me. Don K -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sen

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
r name in code but I aggree that it would be nice to set it in the config file. On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > Ok for a lack of a good universal drawing tool I'm going to do dreaded ascii > > > Applications on a cluster <-> serialized log e

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
=markup -Original Message- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Mon 6/27/2005 12:29 PM To: 'Log4J Users List' Cc: Subject:RE: Filter based on category? Ok for a lack of a good universal drawing tool I'm going to do dreaded ascii Appl

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
on category? That doesn't make sense to me. That sounds wrong. Can you give more details? On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > If I use a dot it strips off the left side in the logging event > > -Original Message- > From: James Stauffer [mail

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
I'm thinking perhaps I'm not understanding what you are getting at. -Original Message----- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 2:19 PM To: 'Log4J Users List' Subject: RE: Filter based on category? If I use a dot it strips off

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
h the underscore. Are you trying to separate your logs based on the type of program? On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > I would do something like > > static Logger logger = Logger.getLogger("joel.SecondLogger"); > > However if I want to

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
I would do something like static Logger logger = Logger.getLogger("joel.SecondLogger"); However if I want to do this it appears I need to make a custom filter and rename it to joel_SecondLogger (_ could be any char but .). This also leaves me with having to modify the log4j jar's that come wit

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
ilter based on category? On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > How? :) > > -Original Message- > From: James Stauffer [mailto:[EMAIL PROTECTED] > Sent: Monday, June 27, 2005 12:59 PM > To: Log4J Users List &

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
Code will not be shared amongst the apps. If you have a better suggestion I would love to hear it. -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 1:08 PM To: Log4J Users List Subject: RE: Filter based on category? At 07:01 PM 6/27/2005, you w

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
standard way of setting up loggers would work fine for you. On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > When you create a new logger you pass in a string. I have seen this referred > to as category but as far as a logging event is concerned I think it's > refer

RE: Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
AM To: Log4J Users List Subject: Re: Filter based on category? Can you provide more details about what you want to do? Do you want to filter based on a string in the category instead of the hierarchy of the category? On 6/27/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > > Is t

Filter based on category?

2005-06-27 Thread Schuweiler, Joel J.
Is there a way to use the category chunk in the xml config files to "filter" which appender to use or am I better off making a custom filter which checks the category? I have tested and read that the StringMatchFilter only matches against the message. -

String match api has dead example links

2005-06-27 Thread Schuweiler, Joel J.
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SocketServer writing to files

2005-06-24 Thread Schuweiler, Joel J.
Does someone have an example of a SocketServer writing to multiple files based on the incoming category? Can this be done or am I stuck parsing the file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

RE: Spam:Log4j and JMS

2005-06-24 Thread Schuweiler, Joel J.
p (depending on your JMS provider). I have implemented the JMS receiver using activeMQ and uberMQ. For socket connections you can use SocketAppender. On the receiving end there's a choice of SocketNode and SocketServer. Hope this helps. Kaufman Ng -Original Message----- From: Sc

Log4j and JMS

2005-06-23 Thread Schuweiler, Joel J.
While I don't know much about jms would this perhaps be a route to take for logging to different files on a remote machine from a cluster full of many applications? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

SocketServer check for incoming hostname

2005-06-23 Thread Schuweiler, Joel J.
I'm looking for documentation on the SocketServer, there doesn't appear to be a lot of information in the api. I was wondering if it can check what hostname the client used to connect to it at? Joel Schuweiler Middleware [EMAIL PROTECTED] Tel: 8-7900

1.3 timeline

2005-06-23 Thread Schuweiler, Joel J.
Is anyone aware of how long it will be until 1.3 moves out of alpha? I realize this is tough to judge but I'm looking for any information you can provide. I see that they are completely re-vamping the naming scheme for many classes, are there any other significant changes? Is there somewhere on

RE: Log4j.properties questions with ConversionPattern and Appender

2005-06-22 Thread Schuweiler, Joel J.
---Original Message----- From: Schuweiler, Joel J. [mailto:[EMAIL PROTECTED] Sent: Wed 6/22/2005 8:30 AM To: 'log4j-user@logging.apache.org' Cc: Subject:Log4j.properties questions with ConversionPattern and Appender Below is my log4j.properties file log4j.rootCat

RE: Log4j.properties questions with ConversionPattern and Appender

2005-06-22 Thread Schuweiler, Joel J.
2/05, James Stauffer <[EMAIL PROTECTED]> wrote: > Did you try (Joel) instead of [Joel]. > > Does SocketAppender even use a conversion pattern? I thought it just > serialized the event. > > On 6/22/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > > I

RE: Log4j.properties questions with ConversionPattern and Appender

2005-06-22 Thread Schuweiler, Joel J.
-- From: Javier Gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 2:18 PM To: Log4J Users List Subject: Re: Log4j.properties questions with ConversionPattern and Appender On 6/22/05, Schuweiler, Joel J. <[EMAIL PROTECTED]> wrote: > Assuming I had a bunch of lines like > &g

RE: Log4j.properties questions with ConversionPattern and Appender

2005-06-22 Thread Schuweiler, Joel J.
sage first I could simply check what the first line starts with and split the log up into a bunch of smaller logs. What I'm wondering if there is an easier way to add "Joels Project" to every log message. > __ > From:

Log4j.properties questions with ConversionPattern and Appender

2005-06-22 Thread Schuweiler, Joel J.
Below is my log4j.properties file log4j.rootCategory=DEBUG, dest1 log4j.appender.dest1=org.apache.log4j.net.SocketAppender log4j.appender.dest1.RemoteHost=logsrv02 log4j.appender.dest1.layout=org.apache.log4j.PatternLayout log4j.appender.dest1.layout.ConversionPattern=[Joels project] - %-4r [%t] %