Admin pack's "logfile" doesn't work
От | Andy Shellam (Mailing Lists) |
---|---|
Тема | Admin pack's "logfile" doesn't work |
Дата | |
Msg-id | 45D740CD.609@mailnetwork.co.uk обсуждение исходный текст |
Ответы |
Re: Admin pack's "logfile" doesn't work
|
Список | pgadmin-support |
<font size="-1"><font face="Arial">Hi,<br /><br /> I have PgAdmin 1.6.2 talking to a PostgreSQL 8.2.3 server with the distributedadmin pack installed (from source's contrib/adminpack), and have ran the adminpack.sql script against the postgresdatabase. If, in PgAdmin, I click Tools > Server Status and select the "logfile" tab, I get the following error:<br/><br /> "redirect_stderr not enabled or log_filename misconfigured."<br /><br /> My PostgreSQL server is configuredas follows:<br /><br /> silent_mode --- on<br /> log_destination --- stderr<br /> log_directory --- /var/log/pgsql<br/> log_filename --- postgresql.%Y%m%d.log<br /> log_rotation_age --- 1d<br /> redirect_stderr --- on<br/><br /> I've tried it with silent_mode set to "off" and stopped/started PostgreSQL, but it still doesn't work.<br /><br/> Is there anything else I need to check/change to get PgAdmin reading the log file? Obviously the log is readable/writeableto the postgresql user account, and is around 400KB per day.<br /><br /> Thanks,<br /><br /> Andy.</font></font>
В списке pgadmin-support по дате отправления: