disable ngx_pagespeed info logs

120 views
Skip to first unread message

NotMy Channel

unread,
Aug 8, 2016, 2:56:44 PM8/8/16
to ngx-pagespeed-discuss
Hello,

 I would like to disable ngx_pagespeed info logs, because it makes my log file full soo fast.

Thanks

Jeff Kaufman

unread,
Aug 8, 2016, 3:02:40 PM8/8/16
to ngx-pagesp...@googlegroups.com
Can you turn your general server logging level down from info to
something like warn? Info-level logging is intentionally verbose.
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ngx-pagespeed-di...@googlegroups.com.
> Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
> For more options, visit https://groups.google.com/d/optout.

NotMy Channel

unread,
Aug 8, 2016, 3:09:58 PM8/8/16
to ngx-pagespeed-discuss
Oh ! i was thinking that u can specify only ngx_pagespeed not all the nginx !


Le lundi 8 août 2016 20:02:40 UTC+1, Jeff Kaufman a écrit :
Can you turn your general server logging level down from info to
something like warn?  Info-level logging is intentionally verbose.

On Mon, Aug 8, 2016 at 2:56 PM, NotMy Channel <smar...@gmail.com> wrote:
> Hello,
>
>  I would like to disable ngx_pagespeed info logs, because it makes my log
> file full soo fast.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an

Jeff Kaufman

unread,
Aug 8, 2016, 3:21:13 PM8/8/16
to ngx-pagesp...@googlegroups.com
Sorry, there isn't a setting for this. Is this something you've seen
in other nginx modules?

When ngx_pagespeed wants to log something, it just makes the standard
call to ngx_log_error(loglevel, ...)

https://github.com/pagespeed/ngx_pagespeed/blob/master/src/ngx_message_handler.cc#L91

On Mon, Aug 8, 2016 at 3:09 PM, NotMy Channel <smar...@gmail.com> wrote:
> Oh ! i was thinking that u can specify only ngx_pagespeed not all the nginx
> !
>
> Le lundi 8 août 2016 20:02:40 UTC+1, Jeff Kaufman a écrit :
>>
>> Can you turn your general server logging level down from info to
>> something like warn? Info-level logging is intentionally verbose.
>>
>> On Mon, Aug 8, 2016 at 2:56 PM, NotMy Channel <smar...@gmail.com> wrote:
>> > Hello,
>> >
>> > I would like to disable ngx_pagespeed info logs, because it makes my
>> > log
>> > file full soo fast.
>> >
>> > Thanks
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "ngx-pagespeed-discuss" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to ngx-pagespeed-di...@googlegroups.com.
>> > Visit this group at
>> > https://groups.google.com/group/ngx-pagespeed-discuss.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "ngx-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ngx-pagespeed-di...@googlegroups.com.

Joshua Marantz

unread,
Aug 8, 2016, 3:36:12 PM8/8/16
to ngx-pagesp...@googlegroups.com
Can you try this?
  
error_log /var/log/nginx-error.log warning;


-Josh

On Mon, Aug 8, 2016 at 2:56 PM, NotMy Channel <smar...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.

NotMy Channel

unread,
Aug 8, 2016, 4:36:45 PM8/8/16
to ngx-pagespeed-discuss
I deleted my notice and info logs on my default nginx conf and it s fine.

 thanks evryone
Reply all
Reply to author
Forward
0 new messages