RE: Program hangs when terminating on v14.1

2021-08-03 Thread Laurent Hasson
Fantastic! This looks indeed to e the same issue I reported. I have downgraded back to v12 and will move to v15 when available. Thank you! Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -Original Message- From: Carter Kozak Sent: Tuesday, August 3, 2021 09:01 To: Log4J Users

RE: Program hangs when terminating on v14.1

2021-08-02 Thread Laurent Hasson
I may have found it... Thread [Log4j2-AsyncAppenderEventDispatcher-1-ASYNC] (Running) Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -Original Message- From: Laurent Hasson Sent: Tuesday, August 3, 2021 02:01 To: Log4J Users List Subject: RE: Program hangs when terminating

RE: Program hangs when terminating on v14.1

2021-08-02 Thread Laurent Hasson
I am not sure how to do this. I am on Eclipse? Laurent Hasson -Original Message- From: Volkan Yazıcı Sent: Tuesday, August 3, 2021 01:59 To: Log4J Users List Subject: Re: Program hangs when terminating on v14.1 Hello Laurent, Thanks for the report and the reproduction path. Would

Program hangs when terminating on v14.1

2021-08-02 Thread Laurent Hasson
nges from v12 to v14 that would explain this, or maybe I missed something? Or maybe it's a bug? Thank you, Laurent Hasson

RE: log4j2 performance issues with Java 11

2020-11-19 Thread Laurent Hasson
ng to see. Thanks to you and all the team. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -Original Message- From: Ralph Goers Sent: Thursday, November 19, 2020 22:11 To: Log4J Users List Subject: Re: log4j2 performance issues with Java 11 If you have encountered performance i

Re: log4j2 performance issues with Java 11

2020-11-19 Thread Laurent Hasson
figured it out. Thank you, Laurent. Sent from my BlackBerry - the most secure mobile device From: ralph.go...@dslextreme.com Sent: November 19, 2020 21:07 To: lbru...@protonmail.com Reply-to: log4j-user@logging.apache.org Cc: volkan.yaz...@gmail.com; log4j-user@logging.apache.org Subject: Re: log4j2

RE: Parametrizing file names with start date of process

2018-02-24 Thread Laurent Hasson
Oh yes, apologies... I did some edits to simplify my config file and accidentally changed $ to %. It is correct in the file. I tried ${date:-MM-dd} and it works. I'll read up on what "date:" is. Thank you, Laurent -Original Message- From: Ralph Goers [

Parametrizing file names with start date of process

2018-02-24 Thread Laurent Hasson
uch appreciated. Thank you, Laurent.

RE: Flushing async appenders

2017-11-28 Thread Laurent Hasson
Ticket created. https://issues.apache.org/jira/browse/LOG4J2-2135 Hope it's alright. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. Research has shown that capsaicin, the substance that gives hot red peppers (or chilies) their kick, and boosts our metabolism, keeps immature fat

RE: Flushing async appenders

2017-11-28 Thread Laurent Hasson
Sorry, latest and greatest: - log4j-api-2.9.1.jar - log4j-core-2.9.1.jar - log4j-web-2.9.1.jar - disruptor-3.3.6.jar I will try to get a Jira ticket in by end of day today if I can. http://picocli.info looks fun. Thanks, Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. Research has

RE: Flushing async appenders

2017-11-28 Thread Laurent Hasson
t %level{length=1} %15.15c{1}| %m%ex{20}%n And I can observe that lots of messages are either lost of are not flushed. This happens even if I change t

Flushing async appenders

2017-11-23 Thread Laurent Hasson
| %m%ex{20}%n Thank you, Laurent Hasson

Async Loggers Vs. Async Appenders

2017-11-23 Thread Laurent Hasson
Any idea what I am doing wrong? Thank you. Laurent Hasson

StdErr and StdOut

2017-06-19 Thread Laurent Hasson
, all go to STDERR. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. Research has shown that capsaicin, the substance that gives hot red peppers (or chilies) their kick, and boosts our metabolism, keeps immature fat cells from developing into full-fledged ones. And a recent study found

RE: Profile controlled filtering

2017-02-27 Thread Laurent Hasson
ust a logging level and structure our logging appropriately and use a lot of "if debuglevel=true ..." logic. That makes things simpler imho. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -Original Message- From: Mahler, Stefan [mailto:stefan.mah...@icongmbh.de] Sent: Mond

RE: Add a pattern to the first rolling file created...

2016-07-13 Thread Laurent Hasson
To be clear... the error described below only shows up if is listed as a policy. No error show up otherwise. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -Original Message- From: Laurent Hasson [mailto:l...@capsicohealth.com] Sent: Wednesday, July 13, 2016 12:36 To: '

RE: Add a pattern to the first rolling file created...

2016-07-13 Thread Laurent Hasson
the error, but looks like a piece of the logs go missing. I have upgraded to 2.6.2 so I am on the latest and greatest. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -Original Message- From: Ralph Goers [mailto:ralph.go...@dslextreme.com] Sent: Wednesday, July 13, 2016 09:35

Add a pattern to the first rolling file created...

2016-07-13 Thread Laurent Hasson
. All I'd want is for a simple timestamp to be added, like the filePattern, and if possibly, have the same timestamp of the system start reused. I think I am missing something quite basic here? I am on log4J 2.5 on Java 8. Laurent Hasson Co-Founder and CTO CapsicoHealth Inc. -O

Questions about RollingFile

2016-05-18 Thread Laurent Hasson
e with all the logging appended across multiple server restart, I would like to always get a new clean file everytime. Can this be done? I am sure there is a way by writing some Java code and all, but trying to figure out a config-level way first if available. Thank you, Laurent Hasson Co-Founder and CTO CapsicoHealth Inc.

Re: NTEventLogAppender sends nothing to the event log

2006-09-29 Thread Laurent Duperval
On Fri, 29 Sep 2006 15:18:08 -0400, Laurent Duperval wrote: > Oops, this is the file: > I also tried to change the NTLOG to be a file appender (file name = ntlog.log) just to make sure that some messages /were/ being sent to the appender. They are, so the problem really seems to be speci

Re: NTEventLogAppender sends nothing to the event log

2006-09-29 Thread Laurent Duperval
On Fri, 29 Sep 2006 14:52:22 -0400, Laurent Duperval wrote: > Hi

NTEventLogAppender sends nothing to the event log

2006-09-29 Thread Laurent Duperval
Hi, I am trying to configure JBoss to use the NTEventLogAppender, to no avail. My log4j.xml configuration is attached. I am using 1.2.8. What I am observing is this: - If I remove the NTEventLogAppender.dll file from the disk drive, I get an unsatisfied link error. - When the application starts,

Re: Basic Assistance

2005-11-02 Thread Laurent
James Stauffer wrote: > Take a look at http://logging.apache.org/log4j/docs/manual.html > > Bascially each class should have something like the following (and it > isn't expensive) > Logger myLogger = Logger.getLogger("com.project.class"); Make it static so you only need one per class: import or

Re: NoSuchFieldError with Log4j 1.3

2005-10-25 Thread Laurent
Laurent wrote: > Throwable: > java.lang.NoSuchFieldError: DEBUG > at org.apache.taglibs.log.DebugTag.getPriority(DebugTag.java:72) > at org.apache.taglibs.log.LoggerTag.doAfterBody(LoggerTag.java:107) It's working with the CVS version of the taglib. Sorry about that, next time

NoSuchFieldError with Log4j 1.3

2005-10-25 Thread Laurent
Hi, I just upgraded to the svn version of log4j (from 1.2.11) and I am now getting this error: Logger: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mywebapp].[jsp] Message: Servlet.service() for servlet jsp threw exception Throwable: java.lang.NoSuchFieldError: DEBUG at org.ap

Useless INFO messages on stdout with 1.3alpha6

2005-10-25 Thread Laurent
Hi, Log4j 1.3alpha6 is printing out a huge number of lines starting with "log4j:INFO Creating new logger" on stdout. How can I prevent this, or make log4j use itself instead of stdout to print its debug messages? (which would be much cleaner, although this could be dangerous if log4j messes itsel

Log file generation

2004-10-13 Thread GALY Laurent
When I set the level of logging to OFF, with a DailyRollingFileAppender, I got an empty file. Is there a way to generate files only if level is FATAL, ERROR, WARN, INFO, DEBUG , and no file if level is OFF. L. Galy - To unsu