You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2009/08/11 13:56:16 UTC

DO NOT REPLY [Bug 47674] New: Need Info/Documentation/Examples for extending log4j for additional fields/info

https://issues.apache.org/bugzilla/show_bug.cgi?id=47674

           Summary: Need Info/Documentation/Examples for extending log4j
                    for additional fields/info
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: jainsukesh@hotmail.com


--- Comment #0 from Sukesh Jain <ja...@hotmail.com> 2009-08-11 04:56:14 PDT ---
Hi all,

I searched the Bugzilla repository and also the log4j manual, with the text
"additional fields/info/properties" and "loggingEvent" but still didnt found
any pointers specifying how to add few custom fields or properties (I guess it
must go to LoggingEvent) that would appear finally in the log files.

As mentioned earlier I guess it has to be in LoggingEvent but while searching
web, I found that it is not recommended or not the proper way as many issues
are created because of it. Hence, I would like to know the pointers to proper
way of achieving this.

If someone has come across any documentation/examples it would be really
helpful. Thanks in advance.

Regards,
Jain.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 47674] Need Info/Documentation/Examples for extending log4j for additional fields/info

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47674


Sukesh Jain <ja...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jainsukesh@hotmail.com


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 47674] Need Info/Documentation/Examples for extending log4j for additional fields/info

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47674


Curt Arnold <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Curt Arnold <ca...@apache.org> 2009-08-11 20:02:02 PDT ---
As mentioned on the user list, both the MDC (mapped diagnostic context) and NDC
(nested diagnostic context) are designed to address this need and are decently
documented online.  Closing issue since this is not the right context for usage
questions.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org