postgresql 之修改psql log信息级别

1.修改当前使用的postgresql.conf文件
vim /var/lib/pgsql/10/data/postgresql.conf

2.vim 下使用\notice 找到待修改项 client_min_messages = notice ,并修改
3.生效 postgres=#select pg_reload_conf();

4.回到psql控制台查看

ifun_work=# CREATE SERVER multicorn_es FOREIGN DATA WRAPPER multicorn OPTIONS(wrapper 'dite.ElasticsearchFDW');
DEBUG: StartTransaction(1) name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0
ERROR: Error in python: ImportError
DETAIL: No module named dite

 

补充其他修改生效方法

1.$kill -HUP PID

2.$pg_ctl reload

posted on 2019-01-09 10:44  magnoliaYan  阅读(696)  评论(0编辑  收藏  举报

导航