Hi Korosh,

> luckly I am using phoneix latest version. Checked the source 
> and log4j i
> there in DefaultLogManager.

Yes, thats where it should be inside now. So you needn't change the
kernel.xml file. :-)

> I didn't underestand exactly what I have to change in kernel.xml since
> DefaultLogManager seems to be log4j aware.

Thats what we all hope. ;-)
There have been some changes in that direction but nobody has ever tested
it.

> I changed the
> enviornment.xml for my SAR app.   I got the following stack trace when
> starting it up which seems to be tied to the deprecxated Category.   I
> checked the log4j.jar in the lib directory of phoneix and it had the
> more recent Logger class in it.
> 
> As you can see I am using Phenix 4.1alpah which should have the latest
> Log4jLoggerManager stuff and I am assuming using the Logger category.
> Checking the source I build from, Log4JLogger is using Logger.
> 
> any ideas?

Yep. org.apache.avalon.framework.logger.Log4JLogger of Avalon framework
4.1.3 is still using the old long deprecated Category stuff. Check out the
brand new Avalon framework 4.1.4. It is usin Logger, Level, etc. :-))
With that you should be much more successful.

Please report when and *how* you exactly made it in the end (at least the
environment.xml). This could be interesting for the wiki too.

Good luck,

Ole
-- 
Ernst Basler + Partner GmbH
Tuchmacherstra�e 47
14482 Potsdam
Tel: (0331) 74 75 9-0
Direkt: (0331) 74 75 9-60
Fax: (0331) 74 75 9-90

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

Reply via email to