Hi all,
I'm using log4j2 in a web app. I'm using RollingFileAppender and
monitorInterval.
The automatic reconfiguration fails with the following exception:
java.lang.IllegalStateException: Pattern does not contain a date
Steps:-
Change filePattern from "${web:rootDir}/server.%i.log" to
"${we
Hi devs,
I've created a pull request on github.
https://github.com/apache/logging-log4j2/pull/305
Here's the travis build failure url -
https://travis-ci.org/apache/logging-log4j2/builds/576515115
Thanks,
Gaurav
doing solves it?
>
> Ralph
>
> > On Jun 27, 2019, at 5:28 AM, Gaurav wrote:
> >
> > Hi all,
> >
> > My application creates millions of loggers and appenders.
> >
> > I'm worried about the memory usage.
> >
> > For that, I am doing fol
Hi all,
My application creates millions of loggers and appenders.
I'm worried about the memory usage.
For that, I am doing following things.
1.Remove appender from LoggerConfig.
2.Stop the LoggerConfig.
3. Remove logger from Configuration.
But when I do the performance test, it prints the error
On 2019/06/06 15:26:38, Matt Sicker wrote:
> Oooh, the dreaded vfs URL scheme. There's some special case support
> for vfs URLs in some code, but it's not pervasive IIRC.
>
> On Thu, 6 Jun 2019 at 04:33, Gaurav wrote:
> >
> >
> >
> > On 2019/0
4, 2019, at 9:37 AM, Matt Sicker wrote:
> > >
> > > I'm not sure if any of the developers here are using WebLogic. Do you
> > > think you can provide some sort of functional test or integration test
> > > that demonstrates the problem?
> > >
> >
The log4j2's web lookup - ${web:rootDir} seems to cause problems on weblogic
12c deployment.
I suspect that the log4j2 web-lookup plugin is not initialized when weblogic
requests the logger at the start of deployment and is unable to create the file.
Details in the apache issue link and stackov
On 2019/05/27 12:21:38, Gary Gregory wrote:
> Ralph, why not add null-checks in the loops of the merge methods?
>
> Gary
>
> On Mon, May 27, 2019 at 4:28 AM Gaurav wrote:
>
> >
> >
> > On 2019/05/24 19:16:33, Ralph Goers wrote:
> > > Composi
figuration this shouldn’t happen.
>
> Ralph
>
> > On May 24, 2019, at 10:34 AM, Gaurav wrote:
> >
> > Hi,
> >
> > Getting NullPointerException in DefaultMergeStrategy class.
> >
> > codeblock -
> > "if
> > (targetNode.getAttr
Hi,
Getting NullPointerException in DefaultMergeStrategy class.
codeblock -
"if
(targetNode.getAttributes().get(NAME).equals(node.getAttributes().get(NAME))) "
Probable suspect is that I've developed an appender similar to failoverappender
and it does not contain any child nodes.
e.g.
Sta
tion with %noex.
>
> Under what circumstances do you want to hide the exception? You may be able
> to use a pattern selector to choose the pattern.
>
> Ralph
>
> > On May 24, 2019, at 4:14 AM, Gaurav wrote:
> >
> >
> >
> >> On 2019/05/2
On 2019/05/24 11:14:25, Gaurav wrote:
>
>
> On 2019/05/22 15:36:11, "Carter Kozak" wrote:
> > Once you've implemented a LogEventPatternConverter which overrides
> > "handlesThrowable" to return true, you will also need to use that pattern
&
t; On Wed, May 22, 2019, at 11:21, Matt Sicker wrote:
> > Did you include the @ConverterKeys annotation on your converters? You
> > shouldn't need to make a new layout I think.
> >
> > On Wed, 22 May 2019 at 06:18, Gaurav wrote:
> > >
> > >
> > &g
r.
>
> Just create a new PatternConverter that does what you need it to do.
>
> Ralph
>
> > On May 22, 2019, at 4:18 AM, Gaurav wrote:
> >
> >
> >
> > On 2019/05/16 14:59:56, Matt Sicker wrote:
> >> Instead of extending the plugin cl
> On Thu, 16 May 2019 at 09:32, Gaurav wrote:
> >
> > Hi,
> >
> > I want to hide the message in the throwable.
> >
> > What I've tried -
> > 1. Create a custom layout by extending AbstractStringLayout.
> > 2. Create a pattern parser.
>
Hi,
I want to hide the message in the throwable.
What I've tried -
1. Create a custom layout by extending AbstractStringLayout.
2. Create a pattern parser.
3. Create a pattern converter by extending ThrowablePatternConverter.
Is there a simpler way to do this?
In log4j1.2, it was simple to jus
In FailoverAppender, there are 3 member variables,
1.DEFAULT_INTERVAL_SECONDS
2.nextCheckNanos
3.intervalNanos
What is the intention behind their use?
Can you share any documentation/reason/logic for it?
Hi,
Getting the error:
Unable to write to database
AppenderLoggingException: Failed to commit transaction logging event or
flushing buffer.
Caused by:
com.microsoft.sqlserver.jdbc.SQLServerException: An error occurred while
reading the value from the stream object. Error: "java.io.IOExcepti
e in column tag in jdbcappender but thats not
working.
Input: custom message
Output: store it into database table
If not available, can you please add support to parse message elements in
JDBCAppender column configuration
Thanks,
Gaurav
19 matches
Mail list logo