yes , i have the logs directory.
where if defined LOG_DEBUG?
look, when i use this in my controller, it works!!!:
$_log=new cakeLog();
$_log->write(LOG_DEBUG,'mensaja');
why?!!!!!!!!
On May 21, 12:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> 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 whyLOG_DEBUGdoesnt 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---