默认情况下,Postgres 9.1 日志在 Ubuntu 中的位置

Evl*_*tnt 4 postgresql ubuntu logging

在哪里可以找到我的 postgres 9.1 服务器的启动日志。我正在使用 Ubuntu。 postgres restart失败。 find / -name pg_log没有发现任何标准日志/etc/postgres/main/9.1/是明确的

Clo*_*eto 5

在 RedHat 之类的发行版中,它将在 init 脚本中/var/lib/pgsql/pgstartup.log查找或查找变量PGLOG/etc/init.d/postgresql