Do you have a directory 'tmp/logs' in your application directory?
If not create it.
I did have the same problem.
Grtz,
Jos
On May 21, 5:02 am, ivancasta <[EMAIL PROTECTED]> wrote:
> hi, i dont know why LOG_DEBUG doesnt works,
> log function always get all log like error and write in error.log
>
> i have this in my controller
>
> class MarcasController extends AppController {
>
> var $name = 'Marcas';
>
> var $helpers = array('Html', 'Form' );
>
> function index() {
> $this->Marca->recursive = 0;
> $this->set('marcas', $this->paginate());
>
> $this->log("log in the
> debug.",LOG_DEBUG);
>
> }
>
> ...
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---