You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Jérôme Renard (JIRA)" <ji...@apache.org> on 2011/01/26 16:34:43 UTC

[jira] Commented: (ZETACOMP-46) Warning when many log with ezcLogFileWriter

    [ https://issues.apache.org/jira/browse/ZETACOMP-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987084#action_12987084 ] 

Jérôme Renard commented on ZETACOMP-46:
---------------------------------------

Hi Alexandre,

I noticed you got this issue with Wamp (maybe with Wamp Server ?)

Do you think you could try to reproduce the same issue on a Linux box ?

This will helps us to know if this is an issue with the Windows filesystem or a more generic one.

Thanks in advance for your feedback.

> Warning when many log with ezcLogFileWriter
> -------------------------------------------
>
>                 Key: ZETACOMP-46
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-46
>             Project: Zeta Components
>          Issue Type: Bug
>          Components: EventLog
>         Environment: WAMP
>            Reporter: Alexandre Leblanc
>            Priority: Minor
>
> When I specify a tiny value for stock the logs ($maxLogRotationSize) and I have many log, I obtain an error :
> PHP :
> $write = new ezcLogUnixFileWriter($directory, $file,1000 );
> $log->getMapper()->appendRule( new ezcLogFilterRule( new ezcLogFilter($typeLog), $write, true ) );
> $log->log( $message, $severity, $params );
> $log->log( $message, $severity, $params );
> $log->log( $message, $severity, $params );
> Error :
> Warning: rename([...]/logs/general.log,[...]/logs/general.log.1) [function.rename]: No such file or directory in [...]/ezc/EventLog/writers\writer_file.php on line 252

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.