PostgreSQL在macOS上的日志在哪里?

编程入门 行业动态 更新时间:2024-10-27 05:36:10
本文介绍了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上的日志在哪里?

本文发布于:2023-10-15 11:55:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1494266.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:日志   PostgreSQL   macOS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!