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

Bruce Ingalls edited comment on LOG4PHP-174 at 3/22/12 2:48 PM:
----------------------------------------------------------------

@Florian-
LoggerAppenderFirephp is working fine, for any scalar/atom that easily converts 
to string. Firephp is able to detect arrays & php objects passed into it, and 
format them nicely.
It seems that log4php's internal event model munges these into strings. The 
code that I have for No Layout is doing this too.
The testing looks good; if we can work around, or document this shortcoming, 
I'll be happy with the result!

Running the example I provide at Debug level does show a backtrace. However, I 
tried, in other code, a thin wrapper library around log4php. I've yet to 
determine how to preserve the backtrace, a documentation issue.
Thanks for your help!
                
      was (Author: bingalls):
    @Florian-
LoggerAppenderFirephp is working fine, for any scalar/atom that easily converts 
to string. Firephp is able to detect arrays & php objects passed into it, and 
format them nicely.
It seems that log4php's internal event model munges these into strings. The 
code that I have for No Layout is doing this too.
The testing looks good; if we can work around, or document this shortcoming, 
I'll be happy with the result!

                  
> 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

        

Reply via email to