[
https://issues.apache.org/jira/browse/LOG4PHP-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232647#comment-13232647
]
Bruce Ingalls commented on LOG4PHP-174:
---------------------------------------
@Florian
http://php.net/manual/en/function.headers-list.php to search for FirePHP/0.4 or
higher in the user-agent sounds like a good idea.
However, LoggerAppenderFirephp has been redesigned so that silently doing
nothing for missing requirements is also a valid state.
More importantly, user agent headers are not sent for command line Phpunit
tests.
A Selenium Phpunit test of the example page could do this. Log4php currently
has no Selenium tests. Note Selenium atop Phpunit requires a higher version of
PHP.
I looked at some links regarding testing headers, specifically user-agent s
using Selenium:
http://www.ryanbyrd.net/techramble/2010/08/02/setting-user-agent-header-in-selenium/
http://groups.google.com/group/webdriver/browse_thread/thread/ab22e3fd0908c987
Dealing with AJAX can get more complex than I'd want to deal with:
http://stackoverflow.com/questions/679218/best-way-to-inspect-http-response-headers-with-selenium
> Firephp appender logs to Firebug console.
> -----------------------------------------
>
> Key: LOG4PHP-174
> URL: https://issues.apache.org/jira/browse/LOG4PHP-174
> Project: Log4php
> Issue Type: Improvement
> Components: Code
> Affects Versions: 2.3.0
> Environment: Mozilla Firefox, possibly Google Chrome
> Reporter: Bruce Ingalls
> Labels: features, patch
> Attachments: firephp_2012_03_16.tar.bz2, log4diff.tar.bz2
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I followed the guidelines at
> http://logging.apache.org/log4php/contributingpatches.html
> However, Jira does not seem to have a way to upload files, such as the
> Appender I'd like to donate to this project.
--
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