Re: Kohana Logs

Bharat Mediratta <[email protected]> Fri, 15 Feb 2013 09:50:10 -0800
Newsgroups gmane.comp.web.gallery.devel
Message-ID <CAESa+_moq2-qckHJY-LofWzNzSnAZK2WDvWeen_ro_=cgtkb-A@mail.gmail.com>
Yep, this is set in:

system/config/log.php:$config['log_threshold'] = 1;

Set the threshold to 2 to see alerts.  3 to see info, etc.


On Thu, Feb 14, 2013 at 3:51 PM, Dave Moore <[email protected]> wrote:

>  I see an example of the ‘alert’ log in the g2_import module:****
> Kohana_Log::add("alert", $msg); ****
>
> But in a module I’m developing I tried:****
> Kohana_Log::add("alert", "Some text”);****
>
> It never shows but if I change it to error:****
> Kohana_Log::add("error", “some text”);****
> It works.
>
> Is there a level that is set to add alert messages to the log that I can’t
> find?
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> __[ g a l l e r y - d e v e l ]_________________________
>
> [ list info/archive --> http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download --> http://gallery.sf.net ]
>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]