[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debug Mode?
So what you're saying is, hold off on making changes for a day or so :)
Thanks,
Adam
----- Original Message -----
From: "Hitesh Patel" <hitesh@presys.com>
To: "Adam "Tauvix" Debus" <northstar@delsol.net>;
<northstar-devel@brownkid.net>
Sent: Monday, April 15, 2002 4:54 PM
Subject: Re: Debug Mode?
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 15 April 2002 18:46 pm, Adam \"Tauvix\" Debus wrote:
> > Hello,
> >
> > I'm finally at a point where I think I've learned enough about how
this
> > program works to start tackling some of the problems that I've
encountered.
> > One quick question that I have, though. Is there some sort of debug
mode?
> > Where it outputs to some sort of log file? If not that may be the first
> > thing I add in, and the first patch I submit. Having that sort of a mode
> > would help greatly in getting more people to participate in active
> > development.
>
> There is currently some very limiting debug code in place. I'm in the
process
> of making a full debugging implementation. Should have the changes in CVS
in
> the next 1 or 2 days.
>
> Basically to log you do:
> Debug("message");
>
> That function the does two things:
> Check to see if debug mode is on by looking for a value of "1" for the
Debug
> directive in the NorthStar.conf file.
> Check to see if their is a filename in "DebugFile" in NorthStar.conf. If
> there if open it a write the deubg message, if not output the message
to
> STDERR (which usually logs to your webserver error_log)
>
> I will send a message to the list when this functionality is in place..
there
> is a bunch of things about to hit CVS (modules, debug, etc., etc.,)
>
> > Thanks,
> >
> > Adam "Tauvix" Debus
> > Network Administrator, ReachONE Internet
> > adam@reachone.com
>
> - --
> +---------------------------------+----------------------------+
> | Hitesh Patel | Lead Developer |
> | hitesh@presys.com | NorthStar |
> +---------------------------------+----------------------------+
> | NorthStar: http://www.brownkid.net/NorthStar/ |
> | PGP Key: http://www.brownkid.net/pgpkey.asc |
> +--------------------------------------------------------------+
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8u2guCws8KqPtd2URAh6BAJ4zXhaneYHeYkJFHNJmX9nOP/6iDwCfTQYR
> pUttixN/XHmL630QtcRvowA=
> =r38D
> -----END PGP SIGNATURE-----
>
>