tor.cgi: Disable debugging output
Commit Message
Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
---
html/cgi-bin/tor.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Cool. Does that silence all the messages?
> On 26 May 2019, at 16:02, Erik Kapfer <ummeegge@ipfire.org> wrote:
>
> Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
> ---
> html/cgi-bin/tor.cgi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi
> index 71da66666..d31eb1086 100644
> --- a/html/cgi-bin/tor.cgi
> +++ b/html/cgi-bin/tor.cgi
> @@ -23,8 +23,8 @@ use strict;
> use Locale::Codes::Country;
>
> # enable only the following on debugging purpose
> -use warnings;
> -use CGI::Carp 'fatalsToBrowser';
> +#use warnings;
> +#use CGI::Carp 'fatalsToBrowser';
>
> require '/var/ipfire/general-functions.pl';
> require "${General::swroot}/geoip-functions.pl";
> --
> 2.12.2
>
Hi Michael,
On So, 2019-05-26 at 17:17 +0100, Michael Tremer wrote:
> Cool. Does that silence all the messages?
Yes.
>
> > On 26 May 2019, at 16:02, Erik Kapfer <ummeegge@ipfire.org> wrote:
> >
> > Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
> > ---
> > html/cgi-bin/tor.cgi | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi
> > index 71da66666..d31eb1086 100644
> > --- a/html/cgi-bin/tor.cgi
> > +++ b/html/cgi-bin/tor.cgi
> > @@ -23,8 +23,8 @@ use strict;
> > use Locale::Codes::Country;
> >
> > # enable only the following on debugging purpose
> > -use warnings;
> > -use CGI::Carp 'fatalsToBrowser';
> > +#use warnings;
> > +#use CGI::Carp 'fatalsToBrowser';
> >
> > require '/var/ipfire/general-functions.pl';
> > require "${General::swroot}/geoip-functions.pl";
> > --
> > 2.12.2
> >
@@ -23,8 +23,8 @@ use strict;
use Locale::Codes::Country;
# enable only the following on debugging purpose
-use warnings;
-use CGI::Carp 'fatalsToBrowser';
+#use warnings;
+#use CGI::Carp 'fatalsToBrowser';
require '/var/ipfire/general-functions.pl';
require "${General::swroot}/geoip-functions.pl";