[pubcookie-dev] RE: byez to debug config variable
steve willey
willey at cac.washington.edu
Tue Jan 6 09:57:10 PST 2004
I've always said pubcookie should be more street ...
The debug directive was a hold over from a simpler debugging era. In the
few remaining places were there was a debug variable I populate it with the
value from logging_level. It's mostly the test apps that were using the
debug directive.
And yes, from a documentation stand point a single log level directive is
the right thing.
As soon as I know I'm done with my current fiddling I'll pull the change
over from the uwash3 to main.
steve
> -----Original Message-----
> From: Nathan Dors [mailto:dors at cac.washington.edu]
> Sent: Tuesday, January 06, 2004 08:42
> To: Stephen Willey
> Cc: Pubcookie Developers
> Subject: byez to debug config variable
>
>
> On Mon, 5 Jan 2004, Stephen Willey wrote:
>
> > Log Message:
> > - fixed some logging levels
> > - retired 'debug' config directive, use 'logging_level'
> > - added somments for logging levels
>
> I don't really remember the original reason to
> separate the debug mode's on/off toggle from the
> logging level. From a documentation perspective,
> it's probably easier to describe just one variable.
>
> Also, it looks like there was a typo in the related
> changes you made to index.cgi:
>
> > --- 1543,1549 ----
> > using apache, here we just pass a void pointer */
> >
> > libpbc_config_init(p, NULL, "logincgi");
> > ! debug = libpbc_config_getint(p, "loggin_level", 0);
> > pbc_log_init(p, "pubcookie login server", NULL, NULL, NULL);
>
> I assume you had emacs in jive talkin' mode.
>
> -Nathan
>
More information about the pubcookie-dev
mailing list