Re: debug_level 0 does not stop debug messages

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Jon <polandj@engin.umich.edu>
Cc: Justin Clift <justin@postgresql.org>, <pgsql-bugs@postgresql.org>
Date: 2001-05-03T16:25:49Z
Lists: pgsql-bugs
Jon writes:

>     I'm not using pg_ctl, I'm using postmaster directly.  So, in my case I
> tried passing "-d0" to it, but it had no effect.  Command line:
>
> postmaster -i -d0 -D /var/pgsql/data -c syslog=2
>
> Any ideas?  I could patch the code to remove the excessive elog's in the
> vacuum command, but I'd rather understand how elog interacts with the
> global DebugLvl variable.

The "interaction" is completely ad hoc, i.e., the code is free to write
anything to the log and completely ignore the debug level.  I agree that
there should be a more systematic approach to what gets logged.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter