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. So you can do something like that:
> 
> Logger:configure(...);
> 
> function blub() {
>   $logger = Logger::getRootLogger();
>   $logger->doSomething();
> }
> 
> function blub2() {
>   $logger = Logger::getRootLogger();
>   $logger->doSomething();
> }
> 
> Did that help you?
> Christian
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Problem-with-utilisation-of-multiple-file_properties-tp29581278p29587118.html
Sent from the Log4php - Dev mailing list archive at Nabble.com.

Reply via email to