LogFactor5

2002-11-25 Thread Sundararaman, Anand
Hi, I have a application in which I log to a file using my own layout class. Now we have a requirement where this log file needs to be displayed on a gui screen. I tried using the LogFactor5 provided by Log4j. I could not understand how to configure it to have my layout on the screen

XMLLayout

2002-10-01 Thread Sundararaman, Anand
Hi, I have a problem in my XMLayout. The log file which is formed does not have a main tag. So it does not open in the internet explorer. Can anyone help me out on how to include the main tag? I am attaching the relevant files I am using. Thanks in advance Anand

Log4j property file

2002-08-02 Thread Sundararaman, Anand
Hi, I have a scenario where I have to log to Socket using the socket appender. But I want to instantiate two different Log4j loggers in my java program and write to two different ports, depending upon my functionality. I am not sure how to mention two Socket appenders in the Log4j

Problem in MDC

2002-07-31 Thread Sundararaman, Anand
Hi, I have a problem which needs urgent attention. I am using MDC.getContext() which is supposed to return a Hashtable , but returns me a null. I am not able to find how this object is to be used. If someone can give me a example program using MDC it will be very useful. The method i am

RE: console/file config

2002-05-29 Thread Sundararaman, Anand
Hi, I am new to Log4j. Please help me out. I am using SocketAppender class to send a logging message to a port on another machine. Can anyone let me know how to write my SocketServer to get the same message on the server side. It is Urgent. Thanks in advance Anand WARNING: The information