Re: lookahead regex filter?

2019-11-25 Thread hmijail+log4j
s, in which circular buffers are the bread and butter and things tended to go (in my case at least) rather in lockstep between producers and consumers - so the N rings of N entries was kinda natural. Of course I have no idea how much this applies to Log4j, sorry for jumping in if not. By the way,

Re: lookahead regex filter?

2019-11-24 Thread hmijail+log4j
I'm sympathetic to the anxiety for getting everything designed right, but at some point it's better to stop pondering possibilities and just get something working ;). I have some experience in this kind of design space but 0 knowledge about log4j internals, and my totally u

lookahead regex filter?

2019-11-24 Thread hmijail+log4j
. (I would have been surprised to find it worked anyway) Any tip on how to do this kind of thing? Best, --- Horacio - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: lo

Re: strange behaviour of log4j

2009-03-06 Thread dhallammail-log4j
file. From: "Vogtländer, Arend (bos)" To: "log4j-user@logging.apache.org" Sent: Friday, 6 March, 2009 13:40:44 Subject: strange behaviour of log4j Dear Sir or Madam, we have monitored a quite strage effect in log4j logfiles, whic

Re: SocketAppender

2009-01-14 Thread dhallammail-log4j
I guess you will be looking for http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/JMSAppender.html From: Guilherme Costa To: Log4J Users List Sent: Wednesday, 14 January, 2009 12:11:15 Subject: SocketAppender I saw the code for that appender

Re: logging start on last log file intended of current log file

2009-01-13 Thread dhallammail-log4j
Are you asking if 2 apps can log to two different log files? The answer to that is yes but I'm not sure I've answered your question. Can you rephrase it? Are you asking if it could be possible for 2 apps to log to the same file? From: Haider

Re: logging start on last log file intended of current log file

2009-01-13 Thread dhallammail-log4j
Have a look at http://ivor.bosloper.nl/2006/11/07/log4j-mdc/ and how to use MDC From: Guilherme Costa To: Log4J Users List Sent: Tuesday, 13 January, 2009 15:45:27 Subject: Re: logging start on last log file intended of current log file And how would you

Re: logging start on last log file intended of current log file

2009-01-13 Thread dhallammail-log4j
Basic answer... don't have two apps logging to the same file. The best way that's usually promoted is to use the SocketAppender (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SocketAppender.html). So both apps log to a server which is a simple single app that l

Re: logging start on last log file intended of current log file

2009-01-13 Thread dhallammail-log4j
named. From: Haider To: log4j-user@logging.apache.org Sent: Tuesday, 13 January, 2009 11:19:53 Subject: logging start on last log file intended of current log file i am using log4j is it working file, with following configuration log4j.appender.

Re: Writing to Database

2009-01-09 Thread dhallammail-log4j
27;s just read-only from the DB - so even when it's not materialized you can still query it. I think other DBs have a similar thing as well. Another option maybe? From: Michael Erskine To: Log4J Users List Sent: Friday, 9 January, 2009 9:39:12 Sub

Custom LoggerFactory

2008-12-08 Thread dhallammail-log4j
ith the full class name for MyClass, the log variable is an instance of MyLogger. However, if I make the configuration more generic (e.g. package wide) with props.put("log4j.logger.com., "DEBUG, A1"); I get an instance of the standard log4j Logger class. I've run thr

Re: Problems with rollover of RollingFileAppender - data loss

2008-11-17 Thread dhallammail-log4j
don't want to lose data - it has to be reliable. I'll try the -Dlog4j.debug property and see what I can get out of it and try and create a standalone test harness to do it. Many thanks, Dave From: Thorbjørn Ravn Andersen <[EMAIL PROTECTED]>

Problems with rollover of RollingFileAppender - data loss

2008-11-16 Thread dhallammail-log4j
Hi, I'm running log4j-1.2.15 and have a problem that I'd like to put forward to see if anyone has a solution. I have an application that is very short lived but is run many times. It's invoked by an external scheduling and orchestration application that can only run the

Re: tomcat ignoring my log4j threshold

2006-05-22 Thread lio log4j
forget this thread. everything is ok. just not testing the right env. Apologize 2006/5/22, lio log4j <[EMAIL PROTECTED]>: Hello world, I'm a bit estonished by the BEHAVIOUR duo tomcat4.1/log4j-1.2.13; Even if my threshold is set to DEBUG, only WARN and ERROR levels appear

tomcat ignoring my log4j threshold

2006-05-22 Thread lio log4j
Hello world, I'm a bit estonished by the BEHAVIOUR duo tomcat4.1/log4j-1.2.13; Even if my threshold is set to DEBUG, only WARN and ERROR levels appear in console. (Morever the log file is never created...) log4j-1.2.13.jar is in [tomcat]\webapps\myApp\WEB-INF\lib log4j.xml is in [t

understanding xml configuration

2004-11-23 Thread roy-log4j-user
arta.apache.org/log4j/"; debug="true">

logger levels

2004-11-15 Thread roy-log4j-user
Hi guys, Okay... I looked in documentation, googled and search the mailing list. For some reason I can't figure out how to set the levels per logger in xml. Like in a properties file, you could do: log4j.logger.com.mycompany.mypackage=DEBUG I can't find anywhere that tells me how to do this wi

using java.io.tmp in properties file

2004-09-28 Thread roy-log4j-user
Hi guys, We use log4j for just about everything. I tried to do a search for this but I'm coming up empty. Can anyone tell me if its possible to use the System property java.io.tmp in a log4j properties file? Thanx in advance.

Re[2]: An odd configuration need...

2004-05-03 Thread Log4J
Hello Ceki, On behalf of myself and all the users of Log4J at this site, I say a big thank you for a beautiful piece of work. If that other guy would take the time to read Log4J then he would understand how to design good code. Better still, if he would watch the Log4J folks in their management

Re: ERR/WARN: DOM element, No appenders found, etc.

2004-03-31 Thread ogjunk-log4j
(com.example.Foo). log4j:WARN Please initialize the log4j system properly. I have tried file:./ and file:///, and an absolute UNIX path. None of those worked. Maybe Log4J is picking up some other config file from some Jar or some other place? Is there a way to see which config file Log4J is

ERR/WARN: DOM element, No appenders found, etc.

2004-03-31 Thread ogjunk-log4j
Hello, According to the Short Manual for Log4J, using log4j.configuration system property to specify the log4j config file location is the way to go. When I do that: java -Dlog4j.configuration=./log4j.xml com.example.Foo I get: log4j:ERROR DOM element is - not a element. log4j:WARN No