multiple loggers doesn't work

2013-11-14 Thread Alper Kanat
Hi, I have the attached logger.inc.php configuration file added in our project. Then in the code, I get a logger with the following code: $log = Logger::getLogger('warehouse'); However all log lines are written into root logger's appender and the appender file for 'warehouse' logger remains empt

Re: multiple loggers doesn't work

2013-11-14 Thread VladimĂ­r Gorej
It is hard to say, because ButigoLoggerAppenderRollingFile is not standard log4php appender. Custom php code that this appender contains may prevent it from properly logging. On Thu, Nov 14, 2013 at 2:13 PM, Alper Kanat wrote: > Hi, > > I have the attached logger.inc.php configuration file adde

Re: multiple loggers doesn't work

2013-11-14 Thread Alper Kanat
No it's irrevelant. I just change where it stores the logs by default. I changed all appenders to LoggerAppenderRollingFile just incase and it saved into butigo.log in project root with following commands I issued in php-cli: $log = Logger::getLogger('warehouse'); $log->info('test1'); --- Quis c