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 "Sébastien Barthélemy (JIRA)" <ji...@apache.org> on 2012/07/11 12:12:34 UTC
[jira] [Created] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Sébastien Barthélemy created LOG4PHP-184:
--------------------------------------------
Summary: [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
Key: LOG4PHP-184
URL: https://issues.apache.org/jira/browse/LOG4PHP-184
Project: Log4php
Issue Type: Bug
Components: Code
Affects Versions: 2.2.1, 2.2.0
Environment: php 5.3.13, os linux centos
Reporter: Sébastien Barthélemy
Fix For: 2.1.0
Hello,
I'm looking to upgrade the log4php version on my company.
We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
Problem is that the definition of appenderFile seems to no longer support constant in filePath :
<appender name="SebFileLog" class="LoggerAppenderFile">
<layout class="LoggerLayoutPattern">
<param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
</layout>
<param name="file" value="${LOG_PATH}seb.log" />
<param name="append" value="true" />
</appender>
On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
Is this a removed feature ?
Is there any other way to do this?
Thanks !
Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Posted by "Ivan Habunek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Habunek updated LOG4PHP-184:
---------------------------------
Description:
Hello,
I'm looking to upgrade the log4php version on my company.
We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
Problem is that the definition of appenderFile seems to no longer support constant in filePath :
{code}
<appender name="SebFileLog" class="LoggerAppenderFile">
<layout class="LoggerLayoutPattern">
<param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
</layout>
<param name="file" value="${LOG_PATH}seb.log" />
<param name="append" value="true" />
</appender>
{code}
On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
Is this a removed feature ?
Is there any other way to do this?
Thanks !
Sébastien
was:
Hello,
I'm looking to upgrade the log4php version on my company.
We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
Problem is that the definition of appenderFile seems to no longer support constant in filePath :
<appender name="SebFileLog" class="LoggerAppenderFile">
<layout class="LoggerLayoutPattern">
<param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
</layout>
<param name="file" value="${LOG_PATH}seb.log" />
<param name="append" value="true" />
</appender>
On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
Is this a removed feature ?
Is there any other way to do this?
Thanks !
Sébastien
> [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-184
> URL: https://issues.apache.org/jira/browse/LOG4PHP-184
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.0, 2.2.1
> Environment: php 5.3.13, os linux centos
> Reporter: Sébastien Barthélemy
> Assignee: Ivan Habunek
> Labels: Configuration, Constant, Xml
> Fix For: 2.3.0
>
>
> Hello,
> I'm looking to upgrade the log4php version on my company.
> We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
> Problem is that the definition of appenderFile seems to no longer support constant in filePath :
> {code}
> <appender name="SebFileLog" class="LoggerAppenderFile">
> <layout class="LoggerLayoutPattern">
> <param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
> </layout>
> <param name="file" value="${LOG_PATH}seb.log" />
> <param name="append" value="true" />
> </appender>
> {code}
> On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
> As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
> Is this a removed feature ?
> Is there any other way to do this?
> Thanks !
> Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Posted by "Sébastien Barthélemy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sébastien Barthélemy updated LOG4PHP-184:
-----------------------------------------
Labels: Configuration Constant Xml (was: )
> [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-184
> URL: https://issues.apache.org/jira/browse/LOG4PHP-184
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.0, 2.2.1
> Environment: php 5.3.13, os linux centos
> Reporter: Sébastien Barthélemy
> Labels: Configuration, Constant, Xml
> Fix For: 2.1.0
>
>
> Hello,
> I'm looking to upgrade the log4php version on my company.
> We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
> Problem is that the definition of appenderFile seems to no longer support constant in filePath :
> <appender name="SebFileLog" class="LoggerAppenderFile">
> <layout class="LoggerLayoutPattern">
> <param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
> </layout>
> <param name="file" value="${LOG_PATH}seb.log" />
> <param name="append" value="true" />
> </appender>
> On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
> As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
> Is this a removed feature ?
> Is there any other way to do this?
> Thanks !
> Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Posted by "Ivan Habunek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Habunek closed LOG4PHP-184.
--------------------------------
Resolution: Fixed
> [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-184
> URL: https://issues.apache.org/jira/browse/LOG4PHP-184
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.0, 2.2.1
> Environment: php 5.3.13, os linux centos
> Reporter: Sébastien Barthélemy
> Assignee: Ivan Habunek
> Labels: Configuration, Constant, Xml
> Fix For: 2.3.0
>
>
> Hello,
> I'm looking to upgrade the log4php version on my company.
> We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
> Problem is that the definition of appenderFile seems to no longer support constant in filePath :
> {code}
> <appender name="SebFileLog" class="LoggerAppenderFile">
> <layout class="LoggerLayoutPattern">
> <param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
> </layout>
> <param name="file" value="${LOG_PATH}seb.log" />
> <param name="append" value="true" />
> </appender>
> {code}
> On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
> As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
> Is this a removed feature ?
> Is there any other way to do this?
> Thanks !
> Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Posted by "Ivan Habunek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437374#comment-13437374 ]
Ivan Habunek commented on LOG4PHP-184:
--------------------------------------
This functionality was accidentally removed when the configurators were rewritten. I added it back it in trunk (r1374617).
It should work as before. Can you please give it a whirl and see if it works for you?
> [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-184
> URL: https://issues.apache.org/jira/browse/LOG4PHP-184
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.0, 2.2.1
> Environment: php 5.3.13, os linux centos
> Reporter: Sébastien Barthélemy
> Labels: Configuration, Constant, Xml
> Fix For: 2.3.0
>
>
> Hello,
> I'm looking to upgrade the log4php version on my company.
> We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
> Problem is that the definition of appenderFile seems to no longer support constant in filePath :
> <appender name="SebFileLog" class="LoggerAppenderFile">
> <layout class="LoggerLayoutPattern">
> <param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
> </layout>
> <param name="file" value="${LOG_PATH}seb.log" />
> <param name="append" value="true" />
> </appender>
> On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
> As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
> Is this a removed feature ?
> Is there any other way to do this?
> Thanks !
> Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Posted by "Ivan Habunek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Habunek updated LOG4PHP-184:
---------------------------------
Fix Version/s: (was: 2.2.1)
2.3.0
Assignee: Ivan Habunek
> [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-184
> URL: https://issues.apache.org/jira/browse/LOG4PHP-184
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.0, 2.2.1
> Environment: php 5.3.13, os linux centos
> Reporter: Sébastien Barthélemy
> Assignee: Ivan Habunek
> Labels: Configuration, Constant, Xml
> Fix For: 2.3.0
>
>
> Hello,
> I'm looking to upgrade the log4php version on my company.
> We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
> Problem is that the definition of appenderFile seems to no longer support constant in filePath :
> <appender name="SebFileLog" class="LoggerAppenderFile">
> <layout class="LoggerLayoutPattern">
> <param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
> </layout>
> <param name="file" value="${LOG_PATH}seb.log" />
> <param name="append" value="true" />
> </appender>
> On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
> As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
> Is this a removed feature ?
> Is there any other way to do this?
> Thanks !
> Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LOG4PHP-184) [LOG4PHP] Constant in Xml
configuration files are no longuer evaluate ?
Posted by "Sébastien Barthélemy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sébastien Barthélemy updated LOG4PHP-184:
-----------------------------------------
Fix Version/s: (was: 2.1.0)
2.2.1
> [LOG4PHP] Constant in Xml configuration files are no longuer evaluate ?
> -----------------------------------------------------------------------
>
> Key: LOG4PHP-184
> URL: https://issues.apache.org/jira/browse/LOG4PHP-184
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Affects Versions: 2.2.0, 2.2.1
> Environment: php 5.3.13, os linux centos
> Reporter: Sébastien Barthélemy
> Labels: Configuration, Constant, Xml
> Fix For: 2.2.1
>
>
> Hello,
> I'm looking to upgrade the log4php version on my company.
> We use actually log4php 2.1.0 and i want to upgrade to 2.2.1.
> Problem is that the definition of appenderFile seems to no longer support constant in filePath :
> <appender name="SebFileLog" class="LoggerAppenderFile">
> <layout class="LoggerLayoutPattern">
> <param name="conversionPattern" value="%d{Y/m/d H:i:s,u} %-5p [%c] - %m%n" />
> </layout>
> <param name="file" value="${LOG_PATH}seb.log" />
> <param name="append" value="true" />
> </appender>
> On 2.1.0, my ${LOG_PATH} is correctly evaluated, but on 2.2.1 not.
> As i found, when we call setFile on appenders/LoggerAppenderFile.php, it's setString that is called.
> Is this a removed feature ?
> Is there any other way to do this?
> Thanks !
> Sébastien
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira