摘要: The following steps create and rotate a log file: Start a mongod with verbose logging, with appending enabled, and with the following log file: mongod -v --logpath /var/log/mongodb/server1.log --logappend In a separate terminal, list the matching files: ls /var/log/mongodb/server1.log* For results, you get: server1.log 阅读全文
posted @ 2013-01-23 10:30 网恋被骗5元 阅读(386) 评论(0) 推荐(0) 编辑