Re: always log all URLs?

clemens fischer <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
I wrote:

> I'm using polipo-git from today on Linux 2.6.32.9 i686.  I want it to
> always log any URI requested by clients.

http://www.mail-archive.com/[email protected]/msg00120.html

It mentions to edit log.h and '#define LOGGING_MAX (~0)'.  This figures,
looking at the code, but I wonder why this has to be this difficult.

Why not:

  #if defined(DEBUG_ENABLE)
  #   define LOGGING_MAX (~0)
  #else
  #   define LOGGING_MAX 0xFF
  #endif

or something like that?  I bet I'll have conflicts every time I merge
from origin/master.  Or else, make some runtime variable, or:

  #define D_CLIENT_REQ 0x80

instead of 0x800?


clemens


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.