LoggerAppenderFirePHP logs events via the FirePHP serverside library. The messages are logged in HTTP headers and can be viewed using the Developer compainion plugin for Firefox.

Requires the FirePHP server-side library 1.0 or greater. Download it from here.

Warning! This appender is still experimental. Behaviour may change in future versions without notification.


This appender requires a layout. If no layout is specified in configuration, LoggerLayoutSimple will be used by default.


The following parameters are available:

Parameter Type Required Default Description
target string No page The target to which messages will be sent. Possible options are 'page' (default), 'request', 'package' and 'controller'. For more details, see FirePHP documentation.


Sample configuration:

  • XML
  • PHP
<configuration xmlns="http://logging.apache.org/log4php/">
    <appender name="default" class="LoggerAppenderFirePHP">
        <layout class="LoggerLayoutSimple" />
        <appender_ref ref="default" />
    'appenders' => array(
        'default' => array(
            'class' => 'LoggerAppenderFirePHP',
            'layout' => array(
                'class' => 'LoggerLayoutSimple',
    'rootLogger' => array(
        'appenders' => array('default'),