[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug Mode?

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:

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                |
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org