It's all about the answers!

Ask a question

Logging Problem


Martin Bonamico (11) | asked Nov 12 '08, 9:52 a.m.
Hello, i want to configure an additional appender that would log important messages to a file, for example ip adderess info, I see that log4j framework contains a facility called Mapped Diagnostic Context (MDC), which -I will quote- helps in situations where one application is involved in simultaneously serving multiple clients, and you are interested in separating or distinguishing log content from each of these multiple clients.
The questions is where i have to put this extension(java class) of MDC?


Thanks!!!!

One answer



permanent link
Matt Lavin (2.7k2) | answered Nov 17 '08, 8:48 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
In the Jazz server and client we have tried to get rid of direct
references to the Log4J API and move to using commons.logging. I would
recommend the same approach to you, because the Log4J API might not be
available future releases of the Jazz server.

-
Matt Lavin
Jazz Server Team


On Wed, 2008-11-12 at 14:58 +0000, tincho_14 wrote:
Hello, i want to configure an additional appender that would log
important messages to a file, for example ip adderess info, I see
that log4j framework contains a facility called Mapped Diagnostic
Context (MDC), which -I will quote- helps in situations where one
application is involved in simultaneously serving multiple clients,
and you are interested in separating or distinguishing log content
from each of these multiple clients.
The questions is where i have to put this extension(java class) of
MDC?


Thanks!!!!

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.