Hi,

     Is the %X{var} pattern still supported in the latest CVS build? I'm
trying to use it in the console appender and nothing is printing out.

I have a central logger, which when it receives logging request will try to
build the MDC data so I can use the %X{var} patterns.

Code:


// After receiving the log request

Map m = new HashMap();
      try {
        StringUtils.createNVList(mesg.substring("ROLEVENT".length()), ";",
m);
//        System.out.println("Map: " + m);
//        System.out.println("user_id: " + m.get("user_id"));
      } catch (Exception ex) {
        ex.printStackTrace();
      }

      // Set the MDC data
      mapToMDC(m);



private void mapToMDC(Map m) {

}
____________________________________________________
Timothy G. Mullé
Senior Software Architect
Reuters Valley Forge Solutions Center
1000 Madison Avenue
Norristown, PA 19403-2432

Phone: (610) 650-8600 x8340
Fax:      (610) 650-8170


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to