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 "Alexandre Leblanc (JIRA)" <ji...@apache.org> on 2011/01/26 13:39:43 UTC
[jira] Created: (ZETACOMP-46) Warning when many log with
ezcLogFileWriter
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.
[jira] Commented: (ZETACOMP-46) Warning when many log with
ezcLogFileWriter
Posted by "Alexandre Leblanc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZETACOMP-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987588#action_12987588 ]
Alexandre Leblanc commented on ZETACOMP-46:
-------------------------------------------
Hello Jérôme,
I tested on Linux and all is OK, there are no warning.
I used Wamp Server and the error is just with the Windows filesystem.
Thanks.
> 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.
[jira] Commented: (ZETACOMP-46) Warning when many log with
ezcLogFileWriter
Posted by "Jérôme Renard (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (ZETACOMP-46) Warning when many log with
ezcLogFileWriter
Posted by "Jérôme Renard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZETACOMP-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998706#comment-12998706 ]
Jérôme Renard commented on ZETACOMP-46:
---------------------------------------
Hi Alexandre,
thanks for your feedback.
I am happy to see it does not happen on a Linux box.
However I am not sure we have a windows box to run tests on so this issue might be long to fix.
Best Regards,
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira