Post your config.
Also, It appears that you are caching Logger instances. Why are you doing that?
On 4/27/06, Vin Karthik <[EMAIL PROTECTED]> wrote:
> I missed few details in the previous mail.
>
> public static Hashtable mht = new Hashtable()
>
> mLogger is the class member variable.
>
> Vin Karthik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am facing a problem with log4j. I am running 2 seperate programs. Both the
> programs use different log files 1.txt and 2.txt respectively. When these
> programs(1 & 2) are run continuously, the log statements get logged in the
> same log file(1.txt). The logger instantiation piece of code is as follows :
>
> public static Logger getLogInstance(String pScriptName)
> {
> if(mht.get(pScriptName) != null)
> {
> mLogger = (Logger) mht.get(pScriptName);
> }
> else
> {
> mLogger = Logger.getInstance(pScriptName);
> mht.put(pScriptName,mLogger);
> }
> return mLogger;
> }
>
> The pScriptName variable is Unique. Not really sure why this is happening.
>
> Can someone please help me on this.
>
> Thanks
> Karthik
>
>
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
>
>
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
>
--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]