You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Marko Štamcar (JIRA)" <ji...@apache.org> on 2009/08/06 16:47:14 UTC
[jira] Commented: (LOG4PHP-26) Add file locking to file appenders
[ https://issues.apache.org/jira/browse/LOG4PHP-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740086#action_12740086 ]
Marko Štamcar commented on LOG4PHP-26:
--------------------------------------
It seems that flock() is present in appenders/LoggerAppenderFile.php. On our production server this caused quite a performance drop and actually timeouts. Any thoughts?
> Add file locking to file appenders
> ----------------------------------
>
> Key: LOG4PHP-26
> URL: https://issues.apache.org/jira/browse/LOG4PHP-26
> Project: Log4php
> Issue Type: New Feature
> Components: Code
> Reporter: Knut Urdalen
> Assignee: Knut Urdalen
> Fix For: 2.0
>
>
> We should add file locking to all file appenders in order to prevent two or more processes accessing the same file at once which may lead to corrupt log files.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.