我的配置日志文件出现问题。我试图记录所有操作,但唯一保存的是服务器重启。 我的配置文件:MongoDB日志文件
##store data here
dbpath=C:\data\db
profile=2
##all output go here
logpath=C:\mongodb\log\mongo.log
logappend=true
##log read and write operations
diaglog=3
我在想什么? 有没有办法用java弹簧配置mongo日志文件(也许是xml)?