首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

postgresql中参数logging_collector对数据库系统启动日记和操作日志信息目的地的影响

2014-06-21 
postgresql中参数logging_collector对数据库系统启动日志和操作日志信息目的地的影响logging_collector

postgresql中参数logging_collector对数据库系统启动日志和操作日志信息目的地的影响
logging_collector = off时用pg_ctl start启动启动日志信息和系统操作日志信息都写到当前terminal的stdout。用ppas-9.1 start启动 启动日志信息和系统操作日志信息都写到了pg_log/startup.log 
logging_collector = on时用pg_ctl start启动启动日志信息写到了当前terminal的stdout。系统操作日志信息写到了pg_log/enterprisedb-*.log用ppas-9.1 start启动
启动日志信息写到了 pg_log/startup.log系统操作日志信息写到了pg_log/enterprisedb-*.log

        用ppas-9.1 start -l /var/run/log/pgsvr.log 启动

                启动日志信息和系统操作日志信息都写到/var/run/log/pgsvr.log,并且其它pg有关日志切换等参数不再起作用


热点排行