Hello Dirk
Thank you very much. That is exacly what I need.
Best Regards
Joerg
OOMS DIRK wrote:
You could map the 3 strings onto MDC key-value pairs, e.g. (m1, string1)
and address them in a PatternLayout by %X{m1}, etc.
Hope this is what you were looking for.
dirk
Dear All
Is it possible to
Hi James
Did you try the following:
1. add log4j.jar to your application WEB-INF/lib
2. add log4j.xml to your WEB-INF/classes
3. connect from your application with e.g.
private static Logger logger = null;
logger.getLogger(CategoryName).log(CategoryName, Level.INFO, message,null);
I remeber that
Dear All
Is it possible to log for example a object with 3 strings and refer it
later in PatternLayout with e.g %m1 %m2 %m3 ?
Below there is some dummy code.
Thanks in advance for any hint.
Best Regards
Joerg
Example dummy code:
--
class MESSAGE{
public String a;
public