引入mongodb,使用队列+单独线程记录访问日志

This commit is contained in:
2018-06-24 15:14:22 +08:00
parent 8b82fbe4db
commit 102a658a5f
9 changed files with 101 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
<source name="redis" value="org.redkalex.cache.RedisCacheSource" xxx="16">
<node addr="redishost" port="6379"/>
</source>
<properties>
<property name="mongo.host" value="127.0.0.1"/>
</properties>
</resources>
<server protocol="HTTP" host="0.0.0.0" port="80" root="root">

View File

@@ -11,7 +11,7 @@ javax.level = INFO
com.sun.level = INFO
sun.level = INFO
jdk.level = INFO
org.mongodb.driver.level = SEVERE
java.util.logging.FileHandler.level = FINER
#10M