Thanks Gary! I will update after trying with 2.3. I have a mild idea on
what may be going wrong. My requirement is that I need userdefined id
(messageid) and configuration based structured data.
1. Messageid is only parsed in log4j if the message is an instance of
StructuredDataMessage, hence I
Can you describe your use case in a bit more detail? Maybe we can provide some
other ideas on how to resolve it.
Ralph
> On Sep 15, 2015, at 12:17 PM, Priya Ahuja wrote:
>
> Thanks Gary! I will update after trying with 2.3. I have a mild idea on
> what may be going
my syslog configuration is:
On Tue, Sep 15, 2015 at 2:12 PM, Priya Ahuja wrote:
> I have a common logging library integrated with log4j which is being used
> by different packages/classes. I
I have a common logging library integrated with log4j which is being used
by different packages/classes. I want a custom messageid in the log entry
so that filtering is easy. At the same time I want structured data fields
to be a part of configuration. For ex:
*<180>1 2015-02-12T00:04:57:627Z
Can you try version 2.3 or 2.4 out of Git master?
Gary
On Tue, Aug 4, 2015 at 1:41 PM, Priya Ahuja wrote:
> Hi Gary,
>
> I am currently using version 2.1.
>
> I have attached the log4j configuration file.
>
> Thanks,
> Priya Ahuja
>
>
>
> On Tue, Aug 4, 2015 at 12:36 PM,
Hi Priya,
I would start by updating to 2.3 and then test again. If not fixed look, in
changes.xml [1] in Git master to see if this has been fixed in the upcoming
2.4 release:
Gary
[1]
https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;a=blob_plain;f=src/changes/changes.xml;hb=HEAD
On
Hi Priya,
What is your configuration? What version are you using?
Gary
On Tue, Aug 4, 2015 at 12:30 PM, Priya Ahuja priahuja...@gmail.com wrote:
Hi,
I am trying to add structured data using includeMDC and loggerfields but I
also want MESSAGE-ID passed by the user in the log.
*My current
Hi Gary,
I am currently using version 2.1.
I have attached the log4j configuration file.
Thanks,
Priya Ahuja
On Tue, Aug 4, 2015 at 12:36 PM, Gary Gregory garydgreg...@gmail.com
wrote:
Hi Priya,
What is your configuration? What version are you using?
Gary
On Tue, Aug 4, 2015 at 12:30