Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
612 views
in Technique[技术] by (71.8m points)

Where to find postgresql.log on Manjaro

Using Manjaro, I freshly installed PostgreSQL with an user-defined data-directory. PostgreSQL is running fine, but I can't find the postgresql*.log(s), which I used to find in /var/log/postgresql on my former system. In ksystemlog I've seen an error, that I forced by

select * from non_exist_table;

but I'm wondering, if there is no longer the postgresql*.log.
Thank you!
Here is my postgresql.conf.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

With logging_collector=off, the logs will just spew to the stderr of the postmaster process. That could have been redirected to a file, or just going to some tty someplace, or just be thrown away. You would have to look at the code which launches the database server.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...