Re: Question regarding JSON Template timestamp rendering

2021-11-03 Thread Andrew Harris (andharr2)
​Volkan, Happy to hear that you have recovered! Thank you also for the info on the 2.15.0 release, I'm looking forward to it for several reasons. I'll try to answer your questions: > How do you purpose JTL? My organization is looking to standardize application logging across our platform. Our

Re: Question regarding JSON Template timestamp rendering

2021-11-01 Thread Volkan Yazıcı
Thanks so much for confirming the fix and more importantly, sparing time to share the issue with us. 2.15.0 is supposed to be released soon. We are waiting for some changes from another maintainer (I am looking at you Ralph) and then we will be done. What I would really appreciate is some details

Re: Question regarding JSON Template timestamp rendering

2021-10-28 Thread Andrew Harris (andharr2)
Volkan, I am happy to report that the change in 2dd7063fb6c6fe73070aded6607a2e2d53613b46 appears to have resolved the issue! After building and installing a local snapshot of log4j-layout-template-json from release-2.x, I now see the following in my test application: ```

Re: Question regarding JSON Template timestamp rendering

2021-10-28 Thread Volkan Yazıcı
Andrew, I have pushed a fix to the `release-2.x` branch with commit `2dd7063fb6c6fe73070aded6607a2e2d53613b46`. Mind giving it a try, please? For the records, created LOG4J2-3183 . On Thu, Oct 28, 2021 at 11:02 AM Volkan Yazıcı wrote: > I

Re: Question regarding JSON Template timestamp rendering

2021-10-28 Thread Volkan Yazıcı
I sadly am able to reproduce the issue Andrew: public final class TimeDriftDemo { public static void main(String[] args) throws InterruptedException { initLog4j(); Logger logger = LogManager.getLogger(); for (int i = 0; i < 5; i++) { logger.info("{}", i);

Re: Question regarding JSON Template timestamp rendering

2021-10-27 Thread Andrew Harris (andharr2)
Volkan, I was able to get the test case you supplied running in JsonTemplateLayoutTest. I confirm that it passes on my system as well. In fact, all the tests in `log4j-layout-template-json` at `rel/2.14.1` pass (except JsonTemplateLayoutGcFreeTest, which I'm willing to believe is a quirk of

Re: Question regarding JSON Template timestamp rendering

2021-10-26 Thread Andrew Harris (andharr2)
Volkan, I must be making a mistake somewhere. As a check on basic assumptions, I sought to craft a simple Java application that emits logs via a Logger, using a logging configuration like in my first message. I found that the pattern-formatted timestamp resolver operates as expected, whereas

Re: Question regarding JSON Template timestamp rendering

2021-10-25 Thread Andrew Harris (andharr2)
: Re: Question regarding JSON Template timestamp rendering Hey Andrew, Thanks so much for reaching out. I have tried to reproduce your issue via unit tests, but had no luck so far: @Test void test_conflicting_timestamps() { // Create the event template. final String eventTemplate

Re: Question regarding JSON Template timestamp rendering

2021-10-25 Thread Volkan Yazıcı
Hey Andrew, Thanks so much for reaching out. I have tried to reproduce your issue via unit tests, but had no luck so far: @Test void test_conflicting_timestamps() { // Create the event template. final String eventTemplate = writeJson(asMap( "timestamp.epoch", asMap(

Re: Question on accessing the threadcontext in pattern vs lookup

2021-04-11 Thread Lars-Fredrik Smedberg
Hi Thanks all for the answers. I actually did some debugging and changed to the thread context data on the log event around the time for the first reply (when i saw that the log event was constructed before passing it to the async logger). The reason for using the lookup and not only %X is that

Re: Question on accessing the threadcontext in pattern vs lookup

2021-04-10 Thread Ralph Goers
Your assumption is correct, but there is a way to avoid the problem. The issue is that, as one might expect, the ThreadContext is thread specific. So when the pattern is resolved it will be on the thread where the event is to be written, not the thread that called the logging method. You can

Re: Question on accessing the threadcontext in pattern vs lookup

2021-04-10 Thread Volkan Yazıcı
AFAIC, your reasoning on why m:testkey not working is correct. Why don't you create your own PatternConverter rather than using a custom lookup? Additionally, if your log sink accepts JSON, you can introduce a custom resolver to JsonTemplateLayout too -- though note that this feature will be

Re: Question about several Async Loggers + RandomAccessFIle appenders with immediateFlush = false

2016-06-20 Thread Anthony Maire
I succeed to reproduce the issue I was suspecting to happen : https://issues.apache.org/jira/browse/LOG4J2-1441 2016-06-17 15:11 GMT+02:00 Anthony Maire : > Hello > > As suggested in AsyncLogger javadoc, I made some performance tests on my > application with

Re: Question about how to create new log files on an hourly not depend on new byte stream log appended

2016-06-19 Thread Remko Popma
Allen, Please take a look at the CronTriggeringPolicy. Remko On Mon, Jun 20, 2016 at 12:09 AM, 流子℡ <41157...@qq.com> wrote: > hi, > here is my log config as follows: > > > fileName="game" > filePattern="game.%d{-MM-dd-HH}.log"> > >

Re: Question about async logger wait strategies

2016-06-14 Thread Anthony Maire
If the sources have not been moved, it's still considered as experimental on master (and it was still experimental on 3.3.5-rc2 tag) https://github.com/LMAX-Exchange/disruptor/blob/master/src/main/java/com/lmax/disruptor/LiteBlockingWaitStrategy.java 2016-06-14 7:15 GMT+02:00 Gary Gregory

Re: Question about async logger wait strategies

2016-06-13 Thread Gary Gregory
On Mon, Jun 13, 2016 at 9:51 PM, Anthony Maire wrote: > Basically you want a logging framework to have as little impact as possible > on the application. That's why the sleeping strategy is a good > general-purpose choice : no allocation, no lock for the application >

Re: Question about async logger wait strategies

2016-06-13 Thread Anthony Maire
Basically you want a logging framework to have as little impact as possible on the application. That's why the sleeping strategy is a good general-purpose choice : no allocation, no lock for the application threads, and a CPU consumption when "idle" that will stay pretty low on most OS (it roughly

Re: Question about async logger wait strategies

2016-06-13 Thread Remko Popma
Currently there isn't but there's no real reason not to. That reminds me we should add LiteBlocking (a standard Disruptor wait strategy). Sent from my iPhone > On 2016/06/14, at 5:50, Matt Sicker wrote: > > Also, is there a way to specify a custom WaitStrategy, or is that

Re: Question about async logger wait strategies

2016-06-13 Thread Remko Popma
The busy-spin wait strategy is not something I want to promote since it basically dedicates a full core to the logging background thread. It's there mostly for testing and perhaps for hardcore users who are familiar with the Disruptor. Sent from my iPhone > On 2016/06/14, at 3:24, Matt

Re: Question about async logger wait strategies

2016-06-13 Thread Matt Sicker
Also, is there a way to specify a custom WaitStrategy, or is that pointless? On 13 June 2016 at 13:24, Matt Sicker wrote: > The code has a case for the busy spin strategy, but it's not listed on > this page: . Is > this

RE: question

2016-03-24 Thread Helm, Mary (MCS Release)
<log4j-user@logging.apache.org> Subject: RE: question Are you generating logs on windows and viewing them on linux or vice versa? Gary On Mar 24, 2016 9:55 AM, "Helm, Mary (MCS Release)" <mary.h...@hpe.com> wrote: > Yes, an extra empty (or blank) line is appearing betw

RE: question

2016-03-24 Thread Gary Gregory
de - not by the system itself > though. Anything in the log from JBOSS itself is showing as single-spaced. > > Thanks, > Mary > > > -Original Message- > From: Remko Popma [mailto:remko.po...@gmail.com] > Sent: Thursday, March 24, 2016 12:46 PM > To: Log4J User

RE: question

2016-03-24 Thread Helm, Mary (MCS Release)
...@gmail.com] Sent: Thursday, March 24, 2016 12:46 PM To: Log4J Users List <log4j-user@logging.apache.org> Subject: Re: question Mary, I recommend you raise a Jira ticket for this. I don't know about the other Log4j community members, but I currently don't have time to look into this and without

Re: question

2016-03-24 Thread Remko Popma
Mary, I recommend you raise a Jira ticket for this. I don't know about the other Log4j community members, but I currently don't have time to look into this and without a Jira ticket it may quickly drop below my mailbox horizon... Also, perhaps this is because I'm not a native English speaker, but

RE: question

2016-03-24 Thread Helm, Mary (MCS Release)
Further investigation shows this happens when running on Windows - not Linux. The logs are single-spaced on Linux but double-spaced on Windows using this log4j2.xml %d [%10.10t] %-5.5p %30.30c{2} - %m%n

Re: Question - RollingFileAppender creates empty files

2015-09-17 Thread Csilla Fabian
in case if there's something that needs to be written to it. - Original Message - From: "Ralph Goers" <ralph.go...@dslextreme.com> To: "log4j-user" <log4j-user@logging.apache.org> Sent: Wednesday, September 16, 2015 6:01:55 PM Subject: Re: Question - Rolling

Re: Question - RollingFileAppender creates empty files

2015-09-17 Thread Ralph Goers
that needs to be written to it. >> >> >> - Original Message - >> From: "Ralph Goers" <ralph.go...@dslextreme.com> >> To: "log4j-user" <log4j-user@logging.apache.org> >> Sent: Wednesday, September 16, 2015 6:01:55 PM >>

Re: Question - RollingFileAppender creates empty files

2015-09-17 Thread Gary Gregory
he log file only in case if > there's something that needs to be written to it. > > > - Original Message - > From: "Ralph Goers" <ralph.go...@dslextreme.com> > To: "log4j-user" <log4j-user@logging.apache.org> > Sent: Wednesday, September 16, 2015

Re: Question - RollingFileAppender creates empty files

2015-09-16 Thread Remko Popma
Hi, Can you provide your configuration file? Remko On Wed, Sep 16, 2015 at 11:23 PM, Csilla Fabian wrote: > Hello, > > I'm using log4j2 RollingFileAppenders to log events of a complex system. > My problem is that empty log files are created for every appender even if >

Re: Question - RollingFileAppender creates empty files

2015-09-16 Thread Ralph Goers
The files are created as soon as the output stream is opened. This happens when the Appender starts. I’d have to see your configuration to understand why you would be getting multiple files though. Ralph > On Sep 16, 2015, at 7:23 AM, Csilla Fabian wrote: > > Hello, >

Re: Question about RollingFileAppender

2015-09-02 Thread Remko Popma
Jerry, As of now, log4j 2 does not support auto-delete on rollover. However, this is a commonly requested feature and is on the todo list. We just haven't gotten around to working on it yet. The relevant Jira ticket is https://issues.apache.org/jira/browse/LOG4J2-435 Remko Sent from my

Re: Question about using log4j

2015-07-06 Thread Gary Gregory
If the machine crashes, open files are at the whim of your OS... The '@' are probably what is on the disk near the end of the file. Gary On Wed, Jul 1, 2015 at 1:43 AM, dyf6372 dyf6...@163.com wrote: We use log4j to print the log about our system. Sometimes the computer will be crashed and

RE: Question regarding Log4J 2

2013-11-11 Thread Gary Gregory
It feels like we are pretty close. Maybe a month, maybe two.  Gary Original message From: anuj kumar anuj.gandh...@gmail.com Date:11/11/2013 07:32 (GMT-05:00) To: log4j-user@logging.apache.org Subject: Question regarding Log4J 2 Hi, I am planning to use Log4J 2 in my

Re: Question about file locking

2010-03-17 Thread Curt Arnold
On Mar 17, 2010, at 10:13 AM, Tasso Angelidis wrote: I'm using log4j in a pretty vanilla way... No extra applications logging to the same file... 1 logger per class. Using RollingFileAppender... Is the file exclusively locked or share locked? And for Windows we all know that sometimes a

RE: Question about using org.apache.log4j.rolling.RollingFileAppender

2010-03-16 Thread Doal Miller
: doal.mil...@mir3.com Click here to experience the MIR3 demo -Original Message- From: Curt Arnold [mailto:curt.ar...@gmail.com] On Behalf Of Curt Arnold Sent: Monday, March 15, 2010 8:27 PM To: Log4J Users List Subject: Re: Question about using org.apache.log4j.rolling.RollingFileAppender

Re: Question about using org.apache.log4j.rolling.RollingFileAppender

2010-03-15 Thread Curt Arnold
On Mar 15, 2010, at 6:48 PM, Doal Miller wrote: I've been playing around with the RollingFileAppender out of the extra jar and I've gotten it working in a couple of different ways but I'm not getting exactly what I want. What I want is to roll a file when the maximum size is reached and

RE: Question for CustomSQLDBReceiver

2008-07-03 Thread Scott Deboy
http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/db/CustomSQLDBReceiver.html Add your jdbc jar to the $userhome/.chainsaw/plugins folder and update your chainsaw xml config file to use the receiver (see the Welcome tab - there's a 'view example receiver

RE: Question for CustomSQLDBReceiver

2008-07-03 Thread Rally, Varun
-293-2223 Extn. 22814 -Original Message- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 10:29 AM To: Log4J Users List Subject: RE: Question for CustomSQLDBReceiver http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/ log4j/db

RE: Question for CustomSQLDBReceiver

2008-07-03 Thread Scott Deboy
To: Log4J Users List Subject: RE: Question for CustomSQLDBReceiver I created a table with the following statement. 1) CREATE TABLE `userdb`.`sys_log` ( `log_id` int(10) unsigned NOT NULL auto_increment, `log_date` timestamp NOT NULL default CURRENT_TIMESTAMP, `sys_name

RE: Question for CustomSQLDBReceiver

2008-07-03 Thread Rally, Varun
INDIA 201301 Phone- 91-120-4023000 extn. 3268 Cell- 91-98990-37800 VOIP - 434-509-0698 Extn. 121 US Phone- 001-303-293-2223 Extn. 22814 -Original Message- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 1:51 PM To: Log4J Users List Subject: RE: Question

RE: Question for CustomSQLDBReceiver

2008-07-03 Thread Scott Deboy
] www.comotivsystems.com -Original Message- From: Rally, Varun [mailto:[EMAIL PROTECTED] Sent: Thu 7/3/2008 1:09 PM To: Log4J Users List Subject: RE: Question for CustomSQLDBReceiver Hello, I believe I am doing all of the steps mentioned below. I think the issue is with the configuration file where I have

RE: Question for CustomSQLDBReceiver

2008-07-03 Thread Rally, Varun
-37800 VOIP - 434-509-0698 Extn. 121 US Phone- 001-303-293-2223 Extn. 22814 -Original Message- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 2:45 PM To: Log4J Users List Subject: RE: Question for CustomSQLDBReceiver The receiver needs all of the columns

Re: Question about Log4J and its future...

2007-12-11 Thread Maarten Bosteels
Also note that some people think that the future of log4j is logback: http://logback.qos.ch/ I am not yet using it in production myself, but I will definitely check it out in the near future.. (unfortunately it's using LGPL instead of Apache license) regards Maarten On Dec 10, 2007 11:52 PM,

RE: Question about Log4J and its future...

2007-12-10 Thread Gary Gregory
The log4j release history is available here: http://logging.apache.org/log4j/1.2/changes-report.html Gary Gregory Seagull Software www.seagullsoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:28 PM To:

Re: Question: Chainsaw usage

2007-10-24 Thread Owe Andresen
: Tuesday, October 23, 2007 2:20 AM Subject: Re: Question: Chainsaw usage 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

RE: Question: Chainsaw usage

2007-10-24 Thread Scott Deboy
List Subject: Re: Question: Chainsaw usage Hello, thanks alot, Paul, this was very helpful! Where can i enter Bugs about Chainsaw? I see, there is no Chainsaw in http://issues.apache.org/bugzilla/enter_bug.cgi:( This userlist is maybe the wrong place to paste problems with Chainsaw

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: Question: Chainsaw usage

2007-10-22 Thread stevenmmatic
log4j-user@logging.apache.org Subject: Re: Question: Chainsaw usage 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

Re: Question: Does Chainsaw read non XML logs?

2007-09-21 Thread Wim Deblauwe
If you want an easier way to read plain text files, check out Vigilog. The new version (that will be released soon) is avaible as webstart at http://vigilog.sourceforge.net/staging/. There is no need to convert you conversionPattern like in Chainsaw. regards, Wim 2007/9/18, Siegel, Bernard J.

Re: Question: Does Chainsaw read non XML logs?

2007-09-18 Thread Paul Smith
Sure it can, you just need to setup a LogFilePatternReceiver and provide it with the pattern of you logging file: http://logging.apache.org/log4j/companions/receivers/xref/org/apache/ log4j/varia/LogFilePatternReceiver.html Paul On 19/09/2007, at 7:42 AM, Siegel, Bernard J. wrote: Folks,

Re: Question about logging to multiple files

2007-08-23 Thread James A. N. Stauffer
You probably don't want to put the A2 appender in the root section. Also if you set additivity=false in the com.test.me.my.Test catagory/logger then the message won't go to the A1 appender. On 8/23/07, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi I am using XML to define my logging properties,

Re: Question about logging to multiple files

2007-08-23 Thread Curt Arnold
On Aug 23, 2007, at 3:24 PM, Ashish Kulkarni wrote: Hi I am using XML to define my logging properties, I wanted to know if i can define 2 log files, and have logs in them depending on which class is writing log file for example if the package is com.test.me then the logs should be written to

Re: Question about logging to multiple files

2007-08-23 Thread Ashish Kulkarni
Hi Work perfect, thank you On 8/23/07, James A. N. Stauffer [EMAIL PROTECTED] wrote: You probably don't want to put the A2 appender in the root section. Also if you set additivity=false in the com.test.me.my.Test catagory/logger then the message won't go to the A1 appender. On 8/23/07,

Re: Question about logging to multiple files

2007-08-23 Thread Ashish Kulkarni
Hi This works fine, can i do the same if i am using properties file instead of XML file for defining configuration some thing like log4j.rootLogger= A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout

Re: Question about logging to multiple files

2007-08-23 Thread James A. N. Stauffer
You still need to set additivity. I *think* it is: log4j.additivity.com.test.me.my.Test=false Also I think you may be defining you loggers incorrectly but I'm not sure. On 8/23/07, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi This works fine, can i do the same if i am using properties file

Re: question mark displayed for certain patterns

2007-02-01 Thread Eqbal
Okay. It was a compile issue as I was using ant and compiling with no debug flag so it defaulted to off. The issue is resolved, thanks for your help. --- Curt Arnold [EMAIL PROTECTED] wrote: On Jan 29, 2007, at 5:08 PM, Eqbal wrote: Hi, I am fairly new to log4j. I am experiencing a

Re: question mark displayed for certain patterns

2007-01-29 Thread Curt Arnold
On Jan 29, 2007, at 5:08 PM, Eqbal wrote: Hi, I am fairly new to log4j. I am experiencing a problem when configuring log4j in Tomcat and use it through commons logging framework. I get a ? (question mark) in place of %F and %L patterns. When I run a Java class file as a standalone using main,

Re: question on conversion character %c

2006-05-20 Thread V Jayakumar
On May 19, 2006, at 9:41 AM, V Jayakumar wrote: In my pattern layout, if I use the conversion character %c, it prints the value based on the category as expected: Example : com.abc.def.ghi - Message 1 com.abc.def.ghi - Message 2 com.abc.def - Message 3 com.abc.def - Message 4 My

Re: question on conversion character %c

2006-05-20 Thread Curt Arnold
On May 20, 2006, at 10:02 AM, V Jayakumar wrote: I wonder, if there is a way to supress the .. before def* ? Thanks again, Jayakumar I don't think so short of your writing a custom layout or pattern. I don't see the use case being sufficiently general to try to support in log4j itself.

Re: question on conversion character %c

2006-05-19 Thread Curt Arnold
On May 19, 2006, at 9:41 AM, V Jayakumar wrote: In my pattern layout, if I use the conversion character %c, it prints the value based on the category as expected: Example : com.abc.def.ghi - Message 1 com.abc.def.ghi - Message 2 com.abc.def - Message 3 com.abc.def - Message 4 My

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-28 Thread Giancarlo V Martinez
-9489; Fax: (512)-823-0035 Scott Deboy [EMAIL PROTECTED] Scott Deboy [EMAIL PROTECTED] 02/27/2006 10:52 PM Please respond to Log4J Users List To Log4J Users List log4j-user@logging.apache.org cc Subject RE: Question about having a distributed log4j/Chainsaw environment

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-28 Thread Scott Deboy
] Sent: Tue 2/28/2006 7:16 AM To: Log4J Users List Cc: Log4J Users List Subject: RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo Scott thank you so much for you help, you also helped me to think of alternatives to my current problem, which is always

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-27 Thread Scott Deboy
Do you need event history? (events created prior to when you started Chainsaw)? If so, that leaves out the socket-based appenders (at least in 1.2.x). SocketHubAppender and SocketHubReceiver are not a bad way to go if you don't need event history, but I wouldn't use -blocking- network-based

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-27 Thread Giancarlo V Martinez
Users List log4j-user@logging.apache.org cc Subject RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo Do you need event history? (events created prior to when you started Chainsaw)? If so, that leaves out the socket-based appenders (at least

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-27 Thread Giancarlo V Martinez
List log4j-user@logging.apache.org cc Log4J Users List log4j-user@logging.apache.org Subject RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo Scott thank you for your reply. I decided to use a picture to best describe what we are trying to do

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-27 Thread Scott Deboy
] www.comotivsystems.com -Original Message- From: Giancarlo V Martinez [mailto:[EMAIL PROTECTED] Sent: Mon 2/27/2006 2:05 PM To: Log4J Users List Cc: Log4J Users List Subject: RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo Scott thank you

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-27 Thread Giancarlo V Martinez
To Log4J Users List log4j-user@logging.apache.org cc Subject RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo A few things: 1. You can configure Chainsaw to always load a configuration on startup View, show application wide preferences

RE: Question about having a distributed log4j/Chainsaw environment, receiver/appender combo

2006-02-27 Thread Scott Deboy
, OR 97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax:503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -Original Message- From: Giancarlo V Martinez [mailto:[EMAIL PROTECTED] Sent: Mon 2/27/2006 4:15 PM To: Log4J Users List Subject: RE: Question about

Re: Question about Date Format

2006-02-26 Thread Curt Arnold
On Feb 26, 2006, at 10:54 AM, Avinash Sridhar wrote: Hello All, I am maintaing some code. The requirement is to change this format , for the application 6-02-15, which, I am hoping is coming from here, defaultProps.setProperty( log4j.appender.main.DatePattern, '.'-MM-dd) ;

Re: Colorized console output (was Re: question)

2005-08-23 Thread Nicolas Martignole
Hi I wrote a WriterAppender a while ago that uses ANSI colors. It's like a ConsoleAppender, using ANSI colors. See the full article here http://www.jroller.com/page/Trecollo/20041013 Nicolas Martignole 2005/8/20, Curt Arnold [EMAIL PROTECTED]: On Aug 17, 2005, at 4:24 PM, Yixing Ma wrote:

Colorized console output (was Re: question)

2005-08-20 Thread Curt Arnold
On Aug 17, 2005, at 4:24 PM, Yixing Ma wrote: Hi, Is there a way to change the color of debug, info, error and warn in the console? There was a rejected bug (http://issues.apache.org/bugzilla/ show_bug.cgi?id=19920) that contained one persons approach to the issue (with a patch which

Re: Question about appender

2005-02-03 Thread Curt Arnold
I'm not sure if I understand the situation, but it might be a case where you would want to use the OutputDebugStringAppender (which calls the Win32 method of the same name). The messages sent to this appender will be viewed by any attached debugger. DebugView

RE: Question?

2005-01-06 Thread Lutz Michael
logger name=com.organisation.sus.broadband additivity=false level value=DEBUG_4 / /logger -Original Message- From: Alan Lewis [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 11:02 AM To: log4j-user@logging.apache.org Subject: Question? Hi

Re: Question about getLogger() references

2004-10-18 Thread Ceki Gülcü
In general, log1==log2 where log1 and log2 are defined as Logger log1=Logger.getLogger( x ); Logger log2=Logger.getLogger( x ); However, if you are using a special repository selector under the surface, then log1 may be different from log2. At 03:05 PM 10/18/2004, you wrote: I have a question

Re: Question about getLogger() references

2004-10-18 Thread clido01
Thanks Ceki, I figured it was a mixed answer. Appreciate the info. In general, log1==log2 where log1 and log2 are defined as Logger log1=Logger.getLogger( x ); Logger log2=Logger.getLogger( x ); However, if you are using a special repository selector under the surface, then log1 may be

RE: Question about implementation of SocketAppender

2004-08-05 Thread Scott Deboy
Hi Tom, If you don't mind me asking, what functionality is missing in the current appender that you need? Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thu 8/5/2004 12:04 PM To: [EMAIL PROTECTED] Cc: Subject:Question about

RE: Question about implementation of SocketAppender

2004-08-05 Thread Tom . Goetze
I'm thinking about extending it so that it starts its own SocketServer on the correct port. This way, even with potentially multiple JVMs running, there will only be one SocketServer, so there will only be one process writing to a particular log file (so having the SocketServer use a rolling

Re: Question about implementation of SocketAppender

2004-08-05 Thread Ceki Gülcü
At 09:04 PM 8/5/2004, you wrote: Anyone know why the SocketAppender doesn't have a setter for the address member variable. Address is the internal representation of the remoteHost variable. This appears to make it impossible to extend the class (since the connect method checks this.address for

RE: Question on Log4J Reliability

2004-01-15 Thread Shapira, Yoav
Howdy, We've been using log4j in production for years without any failures. He means reliable in a less common sense of the word, I think, in that log4j will notify you if it fails and try to do its best to continue. Yoav Shapira Millennium ChemInformatics -Original Message- From: