You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Christian Klinger <ck...@novareto.de> on 2005/01/03 14:05:55 UTC

[users@httpd] How to enable Debug in Source Code

Hello

maybe a stupid question?

In a source code file of mod_auth_tkt there these statements:


#ifdef DEBUG
   ap_log_rerror(APLOG_MARK, APLOG_DEBUG, r,
     "TKT: tkt_cfg: (is_main: %d, is_first: %d) login_url %s, 
auth_cookie_name %s, auth_domain %s, # auth_tokens %d, timeout_sec %lu, 
uri %s",
     (r->main == NULL),
     (r->prev == NULL),
     tkt_cfg->login_url,
     tkt_cfg->auth_cookie_name,
     tkt_cfg->auth_domain,
     tkt_cfg->auth_token->nelts,
     tkt_cfg->timeout_sec,
     r->unparsed_uri
   );
#endif


how can i enable this debug feature???

Christian


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to enable Debug in Source Code

Posted by Joshua Slive <js...@gmail.com>.
On Mon, 03 Jan 2005 14:05:55 +0100, Christian Klinger
<ck...@novareto.de> wrote:
> Hello
> 
> maybe a stupid question?
> 
> In a source code file of mod_auth_tkt there these statements:
> 
> #ifdef DEBUG

Compile the module with -DDEBUG in your command line arguments, or
simply remove the #ifdef and #endif lines.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org