Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
youka-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
java-youka-wallet
youka-api
Commits
6432c6a3
Commit
6432c6a3
authored
Feb 26, 2018
by
Java-张振楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
①修改Koala Cloud上的配置
parent
8691d23c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
ehcache-local.xml
src/main/resources/cache/ehcache-local.xml
+2
-1
ehcache-rmi.xml
src/main/resources/cache/ehcache-rmi.xml
+2
-1
log4j.properties
src/main/resources/log4j.properties
+2
-1
No files found.
src/main/resources/cache/ehcache-local.xml
View file @
6432c6a3
<?xml version="1.0" encoding="UTF-8"?>
<ehcache
updateCheck=
"false"
name=
"defaultCache"
>
<diskStore
path=
"../temp/jeesite/ehcache"
/>
<!--<diskStore path="../temp/jeesite/ehcache" />-->
<diskStore
path=
"/tomcat/temp/jeesite/ehcache"
/>
<!-- 默认缓存配置. 自动失效:最后一次访问时间间隔300秒失效,若没有访问过自创建时间600秒失效。-->
<defaultCache
maxEntriesLocalHeap=
"1000"
eternal=
"false"
timeToIdleSeconds=
"300"
timeToLiveSeconds=
"600"
...
...
src/main/resources/cache/ehcache-rmi.xml
View file @
6432c6a3
...
...
@@ -10,7 +10,8 @@
properties=
"peerDiscovery=automatic,multicastGroupAddress=230.0.0.1, multicastGroupPort=4446"
/>
<cacheManagerPeerListenerFactory
class=
"net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
/>
<diskStore
path=
"../temp/jeesite/ehcache"
/>
<!--<diskStore path="../temp/jeesite/ehcache" />-->
<diskStore
path=
"/tomcat/temp/jeesite/ehcache"
/>
<!-- 默认缓存配置. -->
<defaultCache
maxEntriesLocalHeap=
"1000"
eternal=
"false"
timeToIdleSeconds=
"300"
timeToLiveSeconds=
"600"
...
...
src/main/resources/log4j.properties
View file @
6432c6a3
...
...
@@ -8,7 +8,8 @@ log4j.appender.Console.layout.ConversionPattern=%d %-5p [%c{5}] - %m%n
#RollingFile
log4j.appender.RollingFile
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.RollingFile.File
=
D:/logs/youka/manage.log
#log4j.appender.RollingFile.File=D:/logs/youka/manage.log
log4j.appender.RollingFile.File
=
/youka/manage.log
log4j.appender.RollingFile.layout
=
org.apache.log4j.PatternLayout
log4j.appender.RollingFile.layout.ConversionPattern
=
%d [%t] %-5p [%c] - %m%n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment