|
firesymfonyPluginSetupInstructions
Setup instructions for the firesymfonyPlugin
Phase-Deploy IntroductionBelow 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. DetailsFor 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%.logThe 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: fsWebDebugForSf11The 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: fsWebDebugForSf12The 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) |
ident missing for symfony 1.1 from line 3 to end
configuration for 1.1 looks different couldn't get it to work... please, anybody help :-D
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!
FYI--for anyone looking, the class is contained in this symfony plugin: http://www.symfony-project.org/plugins/firesymfonyPlugin
@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.
Shouldn't "all:" be "dev:"?
>>Shouldn't "all:" be "dev:"?
Nope, use logging_enabled: off in your settings.yml
It would be nice to have tags on the svn repository.
Thanks for this plugin, very usefull.