| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | Guy Fraser <guy(at)incentre(dot)net>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How do I view the logs? |
| Date: | 2003-05-15 15:51:37 |
| Message-ID: | 200305151651.37733.dev@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thursday 15 May 2003 4:24 pm, Guy Fraser wrote:
> Where are the logs?
>
> I have seen logfiles in the data directory as well as sytem tables, but
> haven't figured out how to view them.
>
> Any help would be appreciated.
The log files in .../data/ are probably your transaction logs.
Log files for you to read are probably in /var/log. There are two ways to log
using PostgreSQL:
1. Via syslogd (if you've made the settings in postgresql.conf)
2. To a file (by redirecting output on startup)
See the Administrator's Guide, sections 3.3,3.4,8.4 for more details.
--
Richard Huxton
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2003-05-15 15:54:49 | Re: sql and timestamp variable |
| Previous Message | Fernando Flores Prior | 2003-05-15 15:50:41 | Re: - what protocol for an Internet postgres |