Skip to content

Commit 777b754

Browse files
author
xiaoshi2013
committed
2013年9月21日
1 parent 1d2f86b commit 777b754

18 files changed

+57
-57
lines changed
206 KB
Binary file not shown.
241 KB
Binary file not shown.
245 KB
Binary file not shown.
483 KB
Binary file not shown.
278 KB
Binary file not shown.
256 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
176 KB
Binary file not shown.
175 KB
Binary file not shown.
228 KB
Binary file not shown.
237 KB
Binary file not shown.

src/main/resources/log4j.properties

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# This is the configuring for logging displayed in the Application Server
2-
log4j.rootCategory=warn,stdout
3-
log4j.logger.com.cc=DEBUG,CC
4-
5-
#stdout configure
6-
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
7-
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
8-
log4j.appender.stdout.layout.ConversionPattern= %l %d %p [%c] - <%m>%n
9-
10-
#logfile configure
11-
log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender
12-
log4j.appender.logfile.File=logs/core.log
13-
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
14-
log4j.appender.logfile.layout.ConversionPattern= %d %p [%c] - <%m>%n
15-
16-
log4j.appender.CC=org.apache.log4j.RollingFileAppender
17-
log4j.appender.CC.File = logs/cc_zk.log
18-
log4j.appender.CC.MaxFileSize = 5MB
19-
log4j.appender.CC.rollingPolicy.FileNamePattern=%d{yyyyMMdd-HHmmss}.log
20-
log4j.appender.CC.layout = org.apache.log4j.PatternLayout
21-
log4j.appender.CC.layout.ConversionPattern= %d %p [%c]%l - <%m>%n
22-
1+
# This is the configuring for logging displayed in the Application Server
2+
log4j.rootCategory=warn,stdout
3+
log4j.logger.com.cc=DEBUG,CC
4+
5+
#stdout configure
6+
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
7+
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
8+
log4j.appender.stdout.layout.ConversionPattern= %l %d %p [%c] - <%m>%n
9+
10+
#logfile configure
11+
log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender
12+
log4j.appender.logfile.File=logs/core.log
13+
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
14+
log4j.appender.logfile.layout.ConversionPattern= %d %p [%c] - <%m>%n
15+
16+
log4j.appender.CC=org.apache.log4j.RollingFileAppender
17+
log4j.appender.CC.File = logs/cc_zk.log
18+
log4j.appender.CC.MaxFileSize = 5MB
19+
log4j.appender.CC.rollingPolicy.FileNamePattern=%d{yyyyMMdd-HHmmss}.log
20+
log4j.appender.CC.layout = org.apache.log4j.PatternLayout
21+
log4j.appender.CC.layout.ConversionPattern= %d %p [%c]%l - <%m>%n
22+
393 KB
Binary file not shown.
260 KB
Binary file not shown.
97.3 KB
Binary file not shown.

src/main/resources/zkinit.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"zkUrl":"106.3.42.193:2181",
3-
"service" :"agent"
4-
}
5-
1+
{
2+
"zkUrl":"106.3.42.193:2181",
3+
"service" :"web_monitor"
4+
}
5+

src/main/resources/zkinit_bak.json

+30-30
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
{
2-
"zkUrl":"106.3.42.193:2181",
3-
"redis" : [
4-
{
5-
"nodeName": "CHN-SH-H-3do&redis&1",
6-
"ip": "222.73.233.243",
7-
"serviceGroup": "redis",
8-
"state":"active",
9-
"hostPort":"6379",
10-
"serviceID": "1"
11-
},
12-
{
13-
"nodeName": "CHN-SH-H-3do&redis&2",
14-
"ip": "222.73.233.243",
15-
"serviceGroup": "redis",
16-
"state":"active",
17-
"hostPort":"7379",
18-
"serviceID": "2"
19-
},
20-
{
21-
"nodeName": "CHN-SH-H-3do&redis&3",
22-
"ip": "222.73.233.243",
23-
"serviceGroup": "redis",
24-
"state":"active",
25-
"hostPort":"8379",
26-
"serviceID": "3"
27-
}
28-
]
29-
}
30-
1+
{
2+
"zkUrl":"106.3.42.193:2181",
3+
"redis" : [
4+
{
5+
"nodeName": "CHN-SH-H-3do&redis&1",
6+
"ip": "222.73.233.243",
7+
"serviceGroup": "redis",
8+
"state":"active",
9+
"hostPort":"6379",
10+
"serviceID": "1"
11+
},
12+
{
13+
"nodeName": "CHN-SH-H-3do&redis&2",
14+
"ip": "222.73.233.243",
15+
"serviceGroup": "redis",
16+
"state":"active",
17+
"hostPort":"7379",
18+
"serviceID": "2"
19+
},
20+
{
21+
"nodeName": "CHN-SH-H-3do&redis&3",
22+
"ip": "222.73.233.243",
23+
"serviceGroup": "redis",
24+
"state":"active",
25+
"hostPort":"8379",
26+
"serviceID": "3"
27+
}
28+
]
29+
}
30+

0 commit comments

Comments
 (0)