Unix Technical Forum

separate logfiles

This is a discussion on separate logfiles within the pgsql Admins forums, part of the PostgreSQL category; --> Hi all. I have turned on log_min_duration_statement = 0 and logging everything to syslog, LOCAL0. Is there a way ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 08:13 AM
Zoomby Woof
 
Posts: n/a
Default separate logfiles

Hi all. I have turned on log_min_duration_statement = 0 and logging
everything to syslog, LOCAL0. Is there a way to separate the query
logging from the rest ? Can I somehow have 1 logfile for the "usual"
Postgres messages, and another logfile for the logging generated by
setting log_min_duration_statement = 0 ?
The log is growing quite fast, and even if I use logrotation it gets
quite big so it's a bit tedious to find stuff in the log that is Not
related to query statistics.

I run 8.1 on a Debian system.

Thanx

/zw
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:57 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com