[ 
https://issues.apache.org/jira/browse/LOG4PHP-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706743#action_12706743
 ] 

Knut Urdalen commented on LOG4PHP-30:
-------------------------------------

The PDO ctor throws a PDOException if connection to database fails, I see you 
currently check if($this->db === null) to check if connection went ok.

See: http://php.net/manual/en/pdo.construct.php


> Implement LoggerAppenderPDO
> ---------------------------
>
>                 Key: LOG4PHP-30
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-30
>             Project: Log4php
>          Issue Type: New Feature
>          Components: Code
>            Reporter: Knut Urdalen
>            Assignee: Christian Grobmeier
>             Fix For: 2.0
>
>
> We should provide a LoggerAppenderPDO which utilize the PDO extension and 
> available PDO-drivers. This would be preferred over LoggerAppenderDb (which 
> used the outdated PEAR::DB library).

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

Reply via email to