Perlbal - Perlbal debug

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > May 2007 > Perlbal debug





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Perlbal debug
Oezcan Acar

2007-05-01, 7:11 pm

Hi,

how can I get debug output from perlbal? I did not see any options. In th=
e perlbal code I see something like

print "write($self, <$clen>\"$content\") from ($pkg, $filename, $line)\n"=
if Perlbal::DEBUG >=3D 4;

Which debug levels are used an how can I activate it?

I would like to see debug output for perlbal-backend communication for re=
proxing

thanks.


--=20
Mit freundlichen Gr=FC=DFen

___________________________

=D6zcan Acar, Dipl. Inf(FH)
Vorstand
Smart Web Business AG

Im Niederfeld 8
65462 Gustavsburg

+49 171 57 33 66 5
acar@unitedinter.net


Brad Fitzpatrick

2007-05-02, 1:11 am

It's an environment variable:

from Perlbal.pm:

use constant DEBUG =3D> $ENV{PERLBAL_DEBUG} || 0;

- Brad


On Tue, 1 May 2007, Oezcan Acar wrote:

> Hi,
>
> how can I get debug output from perlbal? I did not see any options. In th=

e perlbal code I see something like
>
> print "write($self, <$clen>\"$content\") from ($pkg, $filename, $line)\n"=

if Perlbal::DEBUG >=3D 4;
>
> Which debug levels are used an how can I activate it?
>
> I would like to see debug output for perlbal-backend communication for re=

proxing
>
> thanks.
>
>
> --
> Mit freundlichen Gr=FC=DFen
>
> ___________________________
>
> =D6zcan Acar, Dipl. Inf(FH)
> Vorstand
> Smart Web Business AG
>
> Im Niederfeld 8
> 65462 Gustavsburg
>
> +49 171 57 33 66 5
> acar@unitedinter.net
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com