Java Mailing List Archive

http://www.java2.5341.com/

Home » Log4J Users List »

[nested diagnostic context] NDC from empty to null

Julien ROUX

2011-09-05


Author LoginPost Reply

Hi everyone,

 

I’m hitting some slight trouble with the latest version of log4j. Previously, with the 1.2.15 version, I used to have an empty string for an empty context (“CTX= “) and now, I get a null (“CTX=null”).

 

Is this a wanted evolution linked to the new version or a collateral damage ?

 

I am updating a statistics module based on the logs from our engine, and this small difference has a big impact.

 

Regards

 

PS : Sorry if this has already been treated, but after searching for a while, I did not come across any information about this.

Julien Roux

Pensez à l'environnement : n'imprimez ce message et ses pièces jointes que si nécessaire.

Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur par e-mail.
Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.
Les communications sur Internet n'étant pas sécurisées, CREDIT AGRICOLE TITRES informe qu'il ne peut accepter aucune responsabilité quant au contenu de ce message.

This mail message and attachments (the "message") are solely intended for the addressees. It is confidential in nature. If you receive this message in error, please delete it and immediately notify the sender by e-mail.
Any use other than its intended purpose, dissemination or disclosure, either whole or partial, is prohibited except if formal approval is granted.
As communication on the Internet is not secure, CREDIT AGRICOLE TITRES does not accept responsibility for the content of this message.
 

reseau2

 

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.