Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhgh
Project
Project
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
Zhou Yang
zhgh
Commits
0b4f176c
Commit
0b4f176c
authored
Feb 20, 2019
by
Zhou Yang
🍋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
富文本编辑器换成了simditor
parent
149cb38d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
1 deletion
+88
-1
.gitignore
.gitignore
+1
-1
db.properties
beansprouts-common/src/main/resources/db.properties
+34
-0
log4j.properties
beansprouts-web/src/main/resources/log4j.properties
+53
-0
No files found.
.gitignore
View file @
0b4f176c
*.properties
#
*.properties
.idea/*
*/target/
# IntelliJ IDEA Files
...
...
beansprouts-common/src/main/resources/db.properties
0 → 100644
View file @
0b4f176c
#jdbc.url=jdbc:mysql://183.247.237.44:3306/zhgh_portalsite?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
jdbc.username
=
Hmit_User
jdbc.password
=
Hmit@2018
jdbc.url
=
jdbc:mysql://127.0.0.1:3306/zhgh_portalsite?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true
#jdbc.url=jdbc:mysql://127.0.0.1:3306/zhgh?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true
#jdbc.url=jdbc:mysql://47.98.97.72:3306/zhgh_portalsite?allowMultiQueries=true&useUnicode=true&autoReconnect=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
#jdbc.username=root
#jdbc.password=12345678
#jdbc.username=hmit_user
#jdbc.password=HmitUser@1234nn
#jdbc.url=jdbc:mysql://39.104.49.159:3306/zhgh_portalsite?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
#jdbc.username=hmit_user
#jdbc.password=HmitUser@1234
jdbc.initialSize
=
5
jdbc.maxActive
=
30
jdbc.minPoolSize
=
2
jdbc.maxIdleTime
=
30000
jdbc.idleConnectionTestPeriod
=
100
beansprouts-web/src/main/resources/log4j.properties
0 → 100644
View file @
0b4f176c
log4j.rootLogger
=
INFO,stdout,info,warn,error
#\u63A7\u5236\u53F0\u8F93\u51FA
log4j.appender.stdout
=
org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target
=
System.out
log4j.appender.stdout.Threshold
=
INFO
log4j.appender.stdout.layout
=
org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern
=
[%p][%d{yyyy-MM-dd HH:mm:ss}] %l %m %n
#INFO\u65E5\u5FD7
log4j.logger.info
=
info
log4j.appender.info
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.info.File
=
${catalina.base}/logs/beansprouts/info.log
log4j.appender.info.datePattern
=
'.'yyyy-MM-dd
log4j.appender.info.append
=
true
log4j.appender.info.Threshold
=
INFO
log4j.appender.info.layout
=
org.apache.log4j.PatternLayout
log4j.appender.info.layout.ConversionPattern
=
[%p][%d{yyyy-MM-dd HH:mm:ss}] %l %m %n
#WARN\u65E5\u5FD7
log4j.appender.warn
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.warn.File
=
${catalina.base}/logs/beansprouts/warn.log
log4j.appender.warn.datePattern
=
'.'yyyy-MM-dd
log4j.appender.warn.append
=
true
log4j.appender.warn.Threshold
=
WARN
log4j.appender.warn.layout
=
org.apache.log4j.PatternLayout
log4j.appender.warn.layout.ConversionPattern
=
[%p][%d{yyyy-MM-dd HH:mm:ss}] %l %m %n
#ERROR\u65E5\u5FD7
log4j.appender.error
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.error.File
=
${catalina.base}/logs/beansprouts/error.log
log4j.appender.error.datePattern
=
'.'yyyy-MM-dd
log4j.appender.error.append
=
true
log4j.appender.error.Threshold
=
ERROR
log4j.appender.error.layout
=
org.apache.log4j.PatternLayout
log4j.appender.error.layout.ConversionPattern
=
[%p][%d{yyyy-MM-dd HH:mm:ss}] %l %m %n
#\u6267\u884C\u6162\u7684SQL
log4j.logger.com.alibaba.druid.filter.stat.StatFilter
=
ERROR,slowsql
log4j.appender.slowsql
=
org.apache.log4j.DailyRollingFileAppender
log4j.appender.slowsql.File
=
${catalina.base}/logs/beansprouts/slow_sql.log
log4j.appender.slowsql.datePattern
=
'.'yyyy-MM-dd
log4j.appender.slowsql.append
=
true
log4j.appender.slowsql.layout
=
org.apache.log4j.PatternLayout
log4j.appender.slowsql.layout.ConversionPattern
=
[%d{yyyy-MM-dd HH:mm:ss}] %m %n
#\u63A7\u5236\u53F0\u8F93\u51FA\u6240\u6709SQL
log4j.logger.com.hmit.kernes.dao
=
DEBUG,sql
log4j.appender.sql
=
org.apache.log4j.ConsoleAppender
log4j.appender.sql.Target
=
System.out
log4j.appender.sql.layout
=
org.apache.log4j.PatternLayout
log4j.appender.sql.layout.ConversionPattern
=
%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