Hello,
 I tried that (changing the log name) and it still doesn't work! (only when
debug = 0).

        CakeLog::write('trace', 'test');

        $this->log('A debugging message.', 'trace');

For instance these commands do not seem to do anything when debug > 0

Any other ideas? Appreciate any help. Thanks.




On Fri, Jun 11, 2010 at 3:32 PM, John Andersen <[email protected]>wrote:

> Have you tried to use another name for the logfile? For example
> "trace".
> I am assuming that there may be a conflict between CakePHP using the
> debug file and you wanting to do it at the same time, which may
> explain why you can write to the debug.log file when CakePHP is not
> debugging :)
> Enjoy,
>   John
>
> On Jun 11, 3:32 pm, heratech <[email protected]> wrote:
> > Hello,
> >  I upgraded to Cakephp 1.3.1 and I am now on 1.3.2-on both versions I
> > am having problems when logging (using either
> > CakeLog::write('debug', 'Something did not work') or $this-
> >
> > >log("Something did not work!", 'debug'); ).
> >
> > Setup:
> > PHP Version 5.3.1
> > Xampp installed to opt
> > Ubuntu 10.04 x64
> >
> > Permissions are all fine because it logs when debug = 0.
> >
> > Please help!
> >
> > Regards,
> > heratech
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to