Re: debug_level 0 does not stop debug messages - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: debug_level 0 does not stop debug messages
Date
Msg-id Pine.LNX.4.30.0105031823150.900-100000@peter.localdomain
Whole thread Raw
In response to Re: debug_level 0 does not stop debug messages  (Jon <polandj@engin.umich.edu>)
List 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

pgsql-bugs by date:

Previous
From: Ganesh Prasad
Date:
Subject: RE: Inheritance of functions shows unexpected behaviour
Next
From: Thomas Lockhart
Date:
Subject: Re: PostgreSQL bug in SELECT DISTINCT