本文介绍了PostgreSQL在macOS上的日志在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想看一下PostgreSQL日志文件,看看我的应用程序写了些什么,但是找不到.
I would like to take a look at the PostgreSQL log files to see what my app writes to them but I can't find them.
有什么想法吗?
推荐答案在OS X上,如果使用的是EnterpriseDB安装的PostgreSQL,则日志文件将位于/Library/PostgreSQL/8.4/data/pg_log
On OS X, if you're using the EnterpriseDB installation of PostgreSQL, your log files will be in /Library/PostgreSQL/8.4/data/pg_log
当然,您要用8.4代替您正在运行的任何版本号.
Of course, you'll want to substitute 8.4 for whichever version number you're running.
更多推荐
PostgreSQL在macOS上的日志在哪里?
发布评论