My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
firesymfonyPluginSetupInstructions  
Setup instructions for the firesymfonyPlugin
Phase-Deploy
Updated Aug 24, 2009 by videlalv...@gmail.com

Introduction

Below there is the description of the configuration files you have to edit on your symfony project to start using the firesymfonyPlugin. The instructions vary according to the targeted symfony version.

Details

For symfony 1.0 do the following:

Change ONLY the logging.yml file like this:

all:
 enabled: on
 level:   debug
 rotate:  off
 period:  7
 history: 10
 purge:   on
 loggers:
   sf_web_debug:
     class: fsWebDebugLogger
     param:
       condition: %SF_WEB_DEBUG%
   sf_file_debug:
     class: sfFileLogger
     param:
       file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log

The only difference here with the default symfony 1.0 logging.yml is the entry:

class: fsWebDebugLogger

If you clear the cache and reload your site you should see the debug data on the FireSymfony extension.


For symfony 1.1 do the following:

Change ONLY the factories.yml file like this:

all:
   logger:
   class: sfAggregateLogger
     param:
       level: debug
       loggers:
         sf_web_debug:
           class: sfWebDebugLogger
           param:
             level: debug
             condition:      %SF_WEB_DEBUG%
             xdebug_logging: false
             web_debug_class: fsWebDebugForSf11

The only difference here with the default symfony 1.1 factories.yml is the entry:

web_debug_class: fsWebDebugForSf11

If you clear the cache and reload your site you should see the debug data on the FireSymfony extension.


For symfony 1.2 do the following:

Change ONLY the factories.yml file like this:

all:
 logger:
   class: sfAggregateLogger
   param:
     level: debug
     loggers:
       sf_web_debug:
         class: sfWebDebugLogger
         param:
           level: debug
           condition:       %SF_WEB_DEBUG%
           xdebug_logging:  false
           web_debug_class: fsWebDebugForSf12

The only difference here with the default symfony 1.2 factories.yml is the entry:

web_debug_class: fsWebDebugForSf11

(I turned off xdebug_logging, but that shouldn't affect the plugin)

Comment by wgoh...@gmail.com, Oct 23, 2008

ident missing for symfony 1.1 from line 3 to end

Comment by Roman.Ag...@gmail.com, Nov 20, 2008

configuration for 1.1 looks different couldn't get it to work... please, anybody help :-D

Comment by hac...@gmail.com, Apr 9, 2009

Where is this class fsWebDebugForSf12? I don't see it in SVN or anywhere on this site. Seems impossible to use this extension without this custom logging class for symfony!

Comment by hac...@gmail.com, Apr 9, 2009

FYI--for anyone looking, the class is contained in this symfony plugin: http://www.symfony-project.org/plugins/firesymfonyPlugin

Comment by project member videlalv...@gmail.com, Aug 24, 2009

@wgohier thanks for the correction, fixed, sorry for the delay :(

@hackel, thanks for pointing that out, most of the time the latest version is hosted on symfony, I should do an update to the svn here at google code.

Comment by chekot...@gmail.com, Sep 8, 2009

Shouldn't "all:" be "dev:"?

Comment by spinw...@gmail.com, Sep 9, 2009

>>Shouldn't "all:" be "dev:"?

Nope, use logging_enabled: off in your settings.yml

Comment by cultureo...@gmail.com, Oct 29, 2009

It would be nice to have tags on the svn repository.

Thanks for this plugin, very usefull.


Sign in to add a comment
Powered by Google Project Hosting