Re: Problem with utilisation of multiple file_properties

2010-08-31 Thread zalex06
Ok, but unfortunately I have until used this solution (see my first post) :( An other idea ? Christian grobmeier wrote: > >> It is a good solution to do in each function $logger = >> Logger::getRootLogger(); ? > > thats ok. Logger::getRootLogger will always return the same logger > instance.

Re: Problem with utilisation of multiple file_properties

2010-08-31 Thread zalex06
I try this : log4php.appender.default = LoggerAppenderFile log4php.appender.default.file = ../../log/file.log log4php.appender.default.layout = LoggerLayoutTTCC log4php.appender.email = LoggerAppenderMail log4php.appender.email.layout = LoggerLayoutTTCC log4php.appender.email.from = aail...@softea

Re: Problem with utilisation of multiple file_properties

2010-08-31 Thread zalex06
No, its' not this My problem is if one of the two functions are used it works but it the both are used. The first is ok but the second no I think the problem is this line in the functions but i m not sure: for mail : Logger::configure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_mail.properties");

Problem with utilisation of multiple file_properties

2010-08-31 Thread zalex06
Hi everyone, I have a problem when i use multiple file_properties. I want to uses an appender_mail and an appender file : //My appender_file.properties log4php.appender.default = LoggerAppenderFile log4php.appender.default.file = ../../log/file.log log4php.appender.default.layout = LoggerLayoutTT