How can I view the content of Logs?

Started by WangYuanover 23 years ago2 messageshackersgeneral
Jump to latest
#1WangYuan
wangyuanzju@hotmail.com
hackersgeneral

I'm a new comer of PostgreSQL, could anyone tell me can I view the
content of logs( updating a tuple, etc.) ? And if I can, how to do it?

Thx!

#2Bruce Momjian
bruce@momjian.us
In reply to: WangYuan (#1)
hackersgeneral
Re: [HACKERS] How can I view the content of Logs?

WangYuan wrote:

I'm a new comer of PostgreSQL, could anyone tell me can I view the
content of logs( updating a tuple, etc.) ? And if I can, how to do it?

[ posts like this should be in general or admin lists.]

Depending on how you start your postmaster, there should be a log file
somewhere, and postgresql.conf file allows you to control how much
detail goes into that file.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073