How to enable Pluf Log

22 views
Skip to first unread message

Hendrawan Kuncoro

unread,
Jan 28, 2012, 2:07:34 AM1/28/12
to Pluf Users
i have add these line of my configuration

$cfg['log_level'] = Pluf_Log::ALL;

but i didnt find /tmp/pluf.log


anyone ??

maso

unread,
Jan 28, 2012, 10:00:16 AM1/28/12
to Pluf Users
If you use File Log, you should specify a temp folder with write
access to the appache.
See tmp_folder configuration for more detail.

On Jan 28, 10:07 am, Hendrawan Kuncoro <pentatonicf...@gmail.com>
wrote:

Hendrawan Kuncoro

unread,
Jan 28, 2012, 10:11:35 AM1/28/12
to Pluf Users
i specified $cfg['tmp_folder'] = '/tmp/';
i'm using mac though.
but still there is no pluf.log

Baptiste

unread,
Jan 29, 2012, 10:34:46 AM1/29/12
to pluf-...@googlegroups.com
Hello,

I think I remembrer I had to instanciate the class, say, at the end of the config file.
I can check that tomorrow if you're still stuck.

Bye,
Baptiste

Le Sat, 28 Jan 2012 07:11:35 -0800 (PST),
Hendrawan Kuncoro <pentato...@gmail.com> a écrit :

Hendrawan Kuncoro

unread,
Jan 29, 2012, 10:55:04 PM1/29/12
to Pluf Users
bump

On Jan 29, 10:34 pm, Baptiste <bathi...@gmail.com> wrote:
> Hello,
>
> I think I remembrer I had to instanciate the class, say, at the end of the config file.
> I can check that tomorrow if you're still stuck.
>
> Bye,
> Baptiste
>
> Le Sat, 28 Jan 2012 07:11:35 -0800 (PST),
> Hendrawan Kuncoro <pentatonicf...@gmail.com> a écrit :

Baptiste

unread,
Jan 30, 2012, 5:07:35 AM1/30/12
to pluf-...@googlegroups.com
Well hello.

You have to correct the default logging level, which is not enabled by default, instead of what's written in the docs.
That was a bug report I wrote with as a very bad title : http://projects.ceondo.com/p/pluf/issues/484/

Furthermore, I know the config var exists, but at the time I was writing my app I could not find any initialization of the class that used the 'log_level' cfg entry.

Maybe it is now irrelevant, but here is the line of my config file, hope it will help :

Pluf_Log::$level = Pluf_Log::ALL;

Ciao,
Baptiste

Le Sun, 29 Jan 2012 19:55:04 -0800 (PST),


Hendrawan Kuncoro <pentato...@gmail.com> a écrit :

> bump

Reply all
Reply to author
Forward
0 new messages