Hi, All,
How I can deactivate debug log of my server! Put it on production!
I did try this:
$self->mode('production'); # on lib/MyApp.pm
But log continues like this:
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "PDDBx002-fav-pt-br.html.ep".
Use of uninitialized value in string eq at template build.html.ep line 389.
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "PDDBx002-header-pt-br.html.ep".
"my" variable $size masks earlier declaration in same scope at template PDDBx002-header-pt-br.html.ep line 76.
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "auth-check.html.ep". Use of uninitialized value $did in string eq at template auth-check.html.ep line
15.
Use of uninitialized value in string ne at template PDDBx002-header-pt-br.html.ep line 9.
[Fri Jul 4 15:07:14 2014] [debug] Template "PDDBx002-extended-page.html.ep" not found.
Use of uninitialized value $extended_page in string eq at template build.html.ep line 406.
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "default-page.html.ep".
[Fri Jul 4 15:07:14 2014] [debug] Template "PDDBx002-left-menu-default-pt-br.html.ep" not found.
Use of uninitialized value $left_menu_default_render in string eq at template default-page.html.ep line 15.
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "left-menu-default-pt-br.html.ep".
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "PDDBx002-left-menu-pt-br.html.ep".
[Fri Jul 4 15:07:14 2014] [debug] Rendering template "PDDBx002-pt-br.html.ep".Use of uninitialized value in string eq at template PDDBx002-pt-br.html.ep line 13.
Thanks