Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262165 - default dev-db/postgresql installation does not have any log, nor does the documentation
Summary: default dev-db/postgresql installation does not have any log, nor does the do...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on: 330927
Blocks:
  Show dependency tree
 
Reported: 2009-03-11 18:05 UTC by Thomas Capricelli
Modified: 2011-08-13 12:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2009-03-11 18:05:55 UTC
After installing dev-db/postgresql, configuring it and starting it (it runs fine), i can't find any log. I've tried adding '-l' to /etc/conf.d/postgresql:PGOPTS, setting /etc/conf.d/postgresql:PGLOG and various other things as found on internet. I've looked for files in /var/log and /var/lib/postgresql/ and could not find a log file or any indication on how to get one.


More importantly, nothing on http://www.gentoo.org/doc/en/postgres-howto.xml is about log, while it is (to me) one of the most important thing to consider when installing any kind of server stuff on linux.

Reproducible: Always



Expected Results:  
I think a default installation should have a (minimum) log
The documentation should tell where to look for problems, and/or how to get logs working.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2009-03-12 17:32:43 UTC
Well, this is mainly a documentation problem. Because we follow upstream there and they don't configure logging per default.
The place to look on how to configure logging is upstream's documentation...
Comment 2 Thomas Capricelli 2009-03-12 18:13:18 UTC
maybe you could at least say it somewhere (mainly on the documentation page on the main site, which is pretty useless without that).

I suggest to add also that the main configuration files are : 
* /var/lib/postgresql/data/postgresql.conf
* /var/lib/postgresql/data/pg_hba.conf

That would have helped a lot...