On 7 June 2013 20:29, Christian Grobmeier <[email protected]> wrote:

> Also I found out one needs to give a full path to the rolling file.
> Like /var/www/xyz.log.
> Otherwise filesize() would return with a warning. We could disable
> that warning with @filesize, but i am not sure if that is a good idea.
>
> Here is the warn:
>
>  Warning: filesize(): stat failed for log/cicada.log in
>
> /var/www/cicada/vendor/apache/log4php/src/main/php/appenders/LoggerAppenderRollingFile.php
> on line 223
>


I'm unable to reproduce this issue. I don't get a warning. Here's my test
with a relative file path:
http://pastebin.com/4tE9mZ1d

Can you provide a code sample which produces the warning?

Regards,
Ivan

Reply via email to