markers

2015-09-15 Thread Nicholas Duane
I was about to starting writing a sample to see how markers work and to see if they could be used for logging business events instead of using a custom level. While I might have mentioned log4net in passing, we're trying to capture these business events using existing logging frameworks.

Re: Structured data appearing twice

2015-09-15 Thread Priya Ahuja
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

Re: Structured data appearing twice

2015-09-15 Thread Ralph Goers
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

Re: Structured data appearing twice

2015-09-15 Thread Priya Ahuja
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

Re: Structured data appearing twice

2015-09-15 Thread Priya Ahuja
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