[symfony-users] [sf2] How to access the logger from inside a model?

2011-06-06 Thread bzarzuela
Sorry for the newbie question. I tried searching this group but ended up with nothing helpful. I'm looking forward to using the fingers crossed logging feature of monolog and I'm wondering what the proper way of getting the logger from inside a model is. Thank you. -- If you want to report a

[symfony-users] Re: sfDoctrinePlugin Query Cache Configuration

2010-10-21 Thread bzarzuela
that will receive a Doctrine_Manager instance and you can set all attributes you want. You should be able to do what you want this way. public function configureDoctrine(Doctrine_Manager $manager) {  //$manager-setAttribute(); } 2010/10/19 bzarzuela bzarzu...@gmail.com Hello, Where do you need

[symfony-users] Re: sfDoctrinePlugin Query Cache Configuration

2010-10-21 Thread bzarzuela
: hermes       password: hermes       attributes:         query_cache: Doctrine_Cache_Apc -- Pierre-Yves 2010/10/21 bzarzuela bzarzu...@gmail.com Thanks. I tried this approach before but ended up doing a lot of conditional statements to handle the different environments my application has

[symfony-users] sfDoctrinePlugin Query Cache Configuration

2010-10-19 Thread bzarzuela
Hello, Where do you need to specify attributes for Doctrine in Symfony 1.4? Line 75 of sfDoctrineDatabase.class.php is what I'm trying to affect. $attributes = $this-getParameter('attributes', array()); I'm trying to set the query_cache here: dev: doctrine: class: sfDoctrineDatabase

[symfony-users] This is nuts, SwiftMailer trying to connect to localhost SMTP even if delivery strategy is none

2010-10-11 Thread bzarzuela
A simple call to $mailer-composeAndSend is driving me nuts. public function executeTest(sfWebRequest $request) { return $this-renderText($this-getMailer()- composeAndSend('t...@example.com', 'br...@teleserv.ph', 'test', 'test2')); } The environment is set to dev and a call to $mailer-