niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » PostgreSQL
howto? Fine Debugging control at cmd line
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
OpenMacNews
*nix forums Guru Wannabe


Joined: 02 Mar 2005
Posts: 118

PostPosted: Wed Mar 02, 2005 12:21 am    Post subject: howto? Fine Debugging control at cmd line Reply with quote

hi all,

per the docs, i understand i *can* define/change the global pgsql debugging
level at the cmd line by passing, say, pg_ctl the '-o "-d 5"' option,

AND,

that i can finely change loglevel options in postgresql.conf, e.g.:

Quote:
client_min_messages = debug5 # debug5, debug4, debug3, debug2, debug1,
# log, notice, warning, error
log_min_messages =debug5 # debug5, debug4, debug3, debug2, debug1,
# info, notice, warning, error, log, fatal,
panic
log_error_verbosity = verbose # terse, default, verbose
log_min_error_statement = debug5 # debug5, debug4, debug3, debug2, debug1,



can I, however, *individually* change these "fine" logging controls at the
command line, and simply re-HUP? e.g., for just a quick debug session?

seems like it might be reasonable to do so, but i think i'm missing the
(possibly?) obvious ...

or, does one make the change in the .conf file, and then rehup?

any pointers?

thanx!

richard

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 4:23 am | All times are GMT
navigation Forum index » Databases » PostgreSQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts number of words in a line Fred J. C++ 3 Fri Jul 21, 2006 3:52 am
No new posts Problems with relay control Félix Martos Trenado Postfix 3 Thu Jul 20, 2006 3:33 pm
No new posts Connection refused at /usr/lib/perl5/vendor_perl/5.8.6/Ma... DragonsLord Mandrake 0 Thu Jul 20, 2006 12:44 pm
No new posts howto log in from one bsd-server to another and move file... Tobias Steer FreeBSD 3 Thu Jul 20, 2006 10:02 am
No new posts sender address control Cosmin Postfix 3 Thu Jul 20, 2006 12:17 am

MPAA | Credit Card Consolidation | Loans | Mortgage | Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1434s ][ Queries: 16 (0.0727s) ][ GZIP on - Debug on ]