Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
admin
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
曲欣亮
admin
Commits
19342d81
Commit
19342d81
authored
Aug 06, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第一次提交
parents
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
563 additions
and
0 deletions
+563
-0
.gitignore
.gitignore
+5
-0
pom.xml
pom.xml
+108
-0
AdminApplication.java
src/main/java/cn/ossip/admin/AdminApplication.java
+40
-0
ExceptionHandler.java
src/main/java/cn/ossip/admin/config/ExceptionHandler.java
+38
-0
SwaggerConfig.java
src/main/java/cn/ossip/admin/config/SwaggerConfig.java
+35
-0
WebMvcConfig.java
src/main/java/cn/ossip/admin/config/WebMvcConfig.java
+57
-0
XException.java
src/main/java/cn/ossip/admin/config/XException.java
+43
-0
ConfigDataSourceConfig.java
...ossip/admin/config/datasource/ConfigDataSourceConfig.java
+48
-0
ShopDataSourceConfig.java
...n/ossip/admin/config/datasource/ShopDataSourceConfig.java
+44
-0
application-dev.properties
src/main/resources/application-dev.properties
+31
-0
application-pro.properties
src/main/resources/application-pro.properties
+31
-0
application-test.properties
src/main/resources/application-test.properties
+31
-0
application.properties
src/main/resources/application.properties
+2
-0
ehcache.xml
src/main/resources/ehcache.xml
+14
-0
logback.xml
src/main/resources/logback.xml
+36
-0
No files found.
.gitignore
0 → 100644
View file @
19342d81
/target/
/.settings/
.classpath
.project
\ No newline at end of file
pom.xml
0 → 100644
View file @
19342d81
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.egolm
</groupId>
<artifactId>
admin
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<description>
B2B后台管理模块
</description>
<properties>
<start-class>
com.egolm.admin.AdminApplication
</start-class>
</properties>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
1.5.9.RELEASE
</version>
</parent>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
<dependency>
<groupId>
com.microsoft.sqlserver
</groupId>
<artifactId>
sqljdbc4
</artifactId>
<version>
4.0
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
1.2.38
</version>
</dependency>
<dependency>
<groupId>
com.egolm
</groupId>
<artifactId>
common
</artifactId>
<version>
0.0.1-RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid
</artifactId>
<version>
1.1.6
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.6.1
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.6.1
</version>
</dependency>
<dependency>
<groupId>
net.sf.ehcache
</groupId>
<artifactId>
ehcache
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<mainClass>
${start-class}
</mainClass>
<layout>
ZIP
</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>
my
</id>
<name>
my
</name>
<url>
http://git.egolm.com:9003/nexus/content/groups/public/
</url>
</repository>
<repository>
<id>
repo1
</id>
<name>
repo1
</name>
<url>
http://repo1.maven.org/maven2/
</url>
</repository>
<repository>
<id>
mvnrepository
</id>
<name>
mvnrepository
</name>
<url>
http://mvnrepository.com/
</url>
</repository>
</repositories>
</project>
\ No newline at end of file
src/main/java/cn/ossip/admin/AdminApplication.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cache.annotation.EnableCaching
;
import
org.springframework.context.ApplicationContext
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2
;
@EnableCaching
@EnableSwagger2
@SpringBootApplication
@EnableTransactionManagement
public
class
AdminApplication
{
private
static
ApplicationContext
applicationContext
;
public
static
void
main
(
String
[]
args
)
{
applicationContext
=
SpringApplication
.
run
(
AdminApplication
.
class
,
args
);
}
public
static
ApplicationContext
getApplicationContext
()
{
return
applicationContext
;
}
public
static
Object
getBean
(
String
name
){
return
getApplicationContext
().
getBean
(
name
);
}
public
static
<
T
>
T
getBean
(
Class
<
T
>
clazz
){
return
getApplicationContext
().
getBean
(
clazz
);
}
public
static
<
T
>
T
getBean
(
String
name
,
Class
<
T
>
clazz
){
return
getApplicationContext
().
getBean
(
name
,
clazz
);
}
}
src/main/java/cn/ossip/admin/config/ExceptionHandler.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
.
config
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.stereotype.Component
;
import
org.springframework.web.servlet.HandlerExceptionResolver
;
import
org.springframework.web.servlet.ModelAndView
;
import
org.springframework.web.servlet.view.json.MappingJackson2JsonView
;
import
com.egolm.common.bean.Rjx
;
@Component
public
class
ExceptionHandler
implements
HandlerExceptionResolver
{
private
static
final
Log
logger
=
LogFactory
.
getLog
(
ExceptionHandler
.
class
);
@Override
public
ModelAndView
resolveException
(
HttpServletRequest
request
,
HttpServletResponse
response
,
Object
handler
,
Exception
ex
)
{
ModelAndView
mav
=
new
ModelAndView
(
new
MappingJackson2JsonView
());
try
{
response
.
setContentType
(
"application/json"
);
if
(
ex
instanceof
XException
)
{
mav
.
addAllObjects
(((
XException
)
ex
).
getRjx
());
}
else
{
mav
.
addAllObjects
(
Rjx
.
jsonErr
().
setMessage
(
"未处理异常["
+
ex
.
getClass
().
getName
()
+
":"
+
ex
.
getMessage
()
+
"]"
));
}
}
catch
(
Exception
e
)
{
mav
.
addAllObjects
(
Rjx
.
jsonErr
().
setMessage
(
"异常处理失败"
));
}
finally
{
logger
.
error
(
""
,
ex
);
}
return
mav
;
}
}
src/main/java/cn/ossip/admin/config/SwaggerConfig.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
.
config
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
springfox.documentation.builders.ApiInfoBuilder
;
import
springfox.documentation.builders.PathSelectors
;
import
springfox.documentation.builders.RequestHandlerSelectors
;
import
springfox.documentation.service.ApiInfo
;
import
springfox.documentation.spi.DocumentationType
;
import
springfox.documentation.spring.web.plugins.Docket
;
@Configuration
public
class
SwaggerConfig
{
@Bean
public
Docket
createRestApi
()
{
return
new
Docket
(
DocumentationType
.
SWAGGER_2
)
.
apiInfo
(
apiInfo
())
.
select
()
.
apis
(
RequestHandlerSelectors
.
basePackage
(
"com.egolm.admin"
))
.
paths
(
PathSelectors
.
any
())
.
build
();
}
private
ApiInfo
apiInfo
()
{
return
new
ApiInfoBuilder
()
.
title
(
"在线文档"
)
.
description
(
"在线文档"
)
.
termsOfServiceUrl
(
"NO terms of service"
)
.
version
(
"1.0"
)
.
build
();
}
}
src/main/java/cn/ossip/admin/config/WebMvcConfig.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
.
config
;
import
java.util.EventListener
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpSession
;
import
org.springframework.boot.web.servlet.ServletListenerRegistrationBean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.web.context.request.RequestContextHolder
;
import
org.springframework.web.context.request.RequestContextListener
;
import
org.springframework.web.context.request.ServletRequestAttributes
;
import
org.springframework.web.servlet.config.annotation.PathMatchConfigurer
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
;
@Configuration
public
class
WebMvcConfig
extends
WebMvcConfigurerAdapter
{
@Override
public
void
configurePathMatch
(
PathMatchConfigurer
configurer
)
{
configurer
.
setUseSuffixPatternMatch
(
false
).
setUseTrailingSlashMatch
(
false
);
}
@Bean
public
ServletListenerRegistrationBean
<
EventListener
>
getDemoListener
(){
ServletListenerRegistrationBean
<
EventListener
>
registrationBean
=
new
ServletListenerRegistrationBean
<>();
registrationBean
.
setListener
(
new
RequestContextListener
());
return
registrationBean
;
}
public
static
HttpServletRequest
getRequest
()
{
ServletRequestAttributes
servletRequestAttributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
if
(
servletRequestAttributes
!=
null
)
{
return
servletRequestAttributes
.
getRequest
();
}
return
null
;
}
public
static
HttpServletResponse
getResponse
()
{
ServletRequestAttributes
servletRequestAttributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
if
(
servletRequestAttributes
!=
null
)
{
return
servletRequestAttributes
.
getResponse
();
}
return
null
;
}
public
static
HttpSession
getSession
()
{
HttpServletRequest
request
=
WebMvcConfig
.
getRequest
();
if
(
request
!=
null
)
{
return
request
.
getSession
();
}
return
null
;
}
}
src/main/java/cn/ossip/admin/config/XException.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
.
config
;
import
com.egolm.common.bean.Rjx
;
public
class
XException
extends
RuntimeException
{
private
static
final
long
serialVersionUID
=
1L
;
private
Rjx
rjx
=
Rjx
.
jsonErr
().
setStatus
(
500
).
setMessage
(
"ERROR"
);
public
XException
(
String
msg
)
{
super
(
msg
);
rjx
.
setMessage
(
msg
);
}
public
XException
(
String
msg
,
Throwable
e
)
{
super
(
msg
,
e
);
rjx
.
setMessage
(
msg
);
}
public
XException
(
String
msg
,
int
code
)
{
super
(
msg
);
rjx
.
setMessage
(
msg
);
rjx
.
setStatus
(
code
);
}
public
XException
(
String
msg
,
int
code
,
Throwable
e
)
{
super
(
msg
,
e
);
rjx
.
setMessage
(
msg
);
rjx
.
setStatus
(
code
);
}
public
Rjx
getRjx
()
{
return
rjx
;
}
public
static
void
assertNotBlank
(
Object
obj
,
String
message
)
{
if
(
obj
==
null
||
obj
.
toString
().
trim
().
equals
(
""
))
{
throw
new
XException
((
message
==
null
||
message
.
trim
().
equals
(
""
))
?
"对象不能为空"
:
message
);
}
}
}
src/main/java/cn/ossip/admin/config/datasource/ConfigDataSourceConfig.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
.
config
.
datasource
;
import
javax.sql.DataSource
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Primary
;
import
org.springframework.jdbc.datasource.DataSourceTransactionManager
;
import
org.springframework.transaction.PlatformTransactionManager
;
import
com.alibaba.druid.pool.DruidDataSource
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.dialect.MySqlDialect
;
@Configuration
public
class
ConfigDataSourceConfig
{
@Bean
@Primary
@Qualifier
(
"configDataSource"
)
@ConfigurationProperties
(
prefix
=
"spring.datasource.config"
)
public
DataSource
getDataSource
()
{
return
DataSourceBuilder
.
create
().
type
(
DruidDataSource
.
class
).
build
();
}
@Bean
@Primary
@Qualifier
(
"configTxManager"
)
public
PlatformTransactionManager
getTransactionManager
(
@Qualifier
(
"configDataSource"
)
DataSource
dataSource
)
{
return
new
DataSourceTransactionManager
(
dataSource
);
}
@Bean
@Primary
@Qualifier
(
"configJdbcTemplate"
)
public
JdbcTemplate
getJdbcTemplate
(
@Qualifier
(
"configDataSource"
)
DataSource
dataSource
)
{
JdbcTemplate
jdbcTemplate
=
new
JdbcTemplate
();
jdbcTemplate
.
setDataSource
(
dataSource
);
jdbcTemplate
.
setDialect
(
new
MySqlDialect
());
jdbcTemplate
.
setSql_level
(
3
);
return
jdbcTemplate
;
}
}
\ No newline at end of file
src/main/java/cn/ossip/admin/config/datasource/ShopDataSourceConfig.java
0 → 100644
View file @
19342d81
package
cn
.
ossip
.
admin
.
config
.
datasource
;
import
javax.sql.DataSource
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.jdbc.datasource.DataSourceTransactionManager
;
import
org.springframework.transaction.PlatformTransactionManager
;
import
com.alibaba.druid.pool.DruidDataSource
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.dialect.MySqlDialect
;
@Configuration
public
class
ShopDataSourceConfig
{
@Bean
@Qualifier
(
"shopDataSource"
)
@ConfigurationProperties
(
prefix
=
"spring.datasource.shop"
)
public
DataSource
getDataSource
()
{
return
DataSourceBuilder
.
create
().
type
(
DruidDataSource
.
class
).
build
();
}
@Bean
@Qualifier
(
"shopTxManager"
)
public
PlatformTransactionManager
getTransactionManager
(
@Qualifier
(
"shopDataSource"
)
DataSource
dataSource
)
{
return
new
DataSourceTransactionManager
(
dataSource
);
}
@Bean
@Qualifier
(
"shopJdbcTemplate"
)
public
JdbcTemplate
getJdbcTemplate
(
@Qualifier
(
"shopDataSource"
)
DataSource
dataSource
)
{
JdbcTemplate
jdbcTemplate
=
new
JdbcTemplate
();
jdbcTemplate
.
setDataSource
(
dataSource
);
jdbcTemplate
.
setDialect
(
new
MySqlDialect
());
jdbcTemplate
.
setSql_level
(
3
);
return
jdbcTemplate
;
}
}
\ No newline at end of file
src/main/resources/application-dev.properties
0 → 100644
View file @
19342d81
server.tomcat.max-threads
=
1000
server.tomcat.min-spare-threads
=
30
server.port
=
8090
server.context-path
=
/
server.session.timeout
=
90000
server.tomcat.uri-encoding
=
utf-8
spring.http.multipart.maxFileSize
=
5MB
spring.http.multipart.maxRequestSize
=
5MB
spring.http.encoding.force
=
true
spring.http.encoding.enabled
=
true
spring.http.encoding.charset
=
utf-8
spring.datasource.config.url
=
jdbc:mysql://10.10.0.20:3306/msgcenter?useSSL=false
spring.datasource.config.username
=
root
spring.datasource.config.password
=
egolm2018
spring.datasource.config.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.config.testWhileIdle
=
true
spring.datasource.config.validationQuery
=
SELECT 1
spring.datasource.config.timeBetweenEvictionRunsMillis
=
3600000
spring.datasource.shop.username
=
sa
spring.datasource.shop.password
=
qiyang
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.51:56443;instanceName=SQLSERVER;DatabaseName=EGOLMSAAS
spring.datasource.shop.driver-class-name
=
com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.shop.testWhileIdle
=
true
spring.datasource.shop.validationQuery
=
SELECT 1
spring.datasource.shop.timeBetweenEvictionRunsMillis
=
3600000
\ No newline at end of file
src/main/resources/application-pro.properties
0 → 100644
View file @
19342d81
server.tomcat.max-threads
=
1000
server.tomcat.min-spare-threads
=
30
server.port
=
8090
server.context-path
=
/
server.session.timeout
=
90000
server.tomcat.uri-encoding
=
utf-8
spring.http.multipart.maxFileSize
=
5MB
spring.http.multipart.maxRequestSize
=
5MB
spring.http.encoding.force
=
true
spring.http.encoding.enabled
=
true
spring.http.encoding.charset
=
utf-8
spring.datasource.config.url
=
jdbc:mysql://10.10.0.20:3306/msgcenter?useSSL=false
spring.datasource.config.username
=
root
spring.datasource.config.password
=
egolm2018
spring.datasource.config.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.config.testWhileIdle
=
true
spring.datasource.config.validationQuery
=
SELECT 1
spring.datasource.config.timeBetweenEvictionRunsMillis
=
3600000
spring.datasource.shop.username
=
sa
spring.datasource.shop.password
=
qiyang
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.51:56443;instanceName=SQLSERVER;DatabaseName=EGOLMSAAS
spring.datasource.shop.driver-class-name
=
com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.shop.testWhileIdle
=
true
spring.datasource.shop.validationQuery
=
SELECT 1
spring.datasource.shop.timeBetweenEvictionRunsMillis
=
3600000
\ No newline at end of file
src/main/resources/application-test.properties
0 → 100644
View file @
19342d81
server.tomcat.max-threads
=
1000
server.tomcat.min-spare-threads
=
30
server.port
=
8090
server.context-path
=
/
server.session.timeout
=
90000
server.tomcat.uri-encoding
=
utf-8
spring.http.multipart.maxFileSize
=
5MB
spring.http.multipart.maxRequestSize
=
5MB
spring.http.encoding.force
=
true
spring.http.encoding.enabled
=
true
spring.http.encoding.charset
=
utf-8
spring.datasource.config.url
=
jdbc:mysql://10.10.0.20:3306/msgcenter?useSSL=false
spring.datasource.config.username
=
root
spring.datasource.config.password
=
egolm2018
spring.datasource.config.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.config.testWhileIdle
=
true
spring.datasource.config.validationQuery
=
SELECT 1
spring.datasource.config.timeBetweenEvictionRunsMillis
=
3600000
spring.datasource.shop.username
=
sa
spring.datasource.shop.password
=
qiyang
spring.datasource.shop.url
=
jdbc:sqlserver://10.10.0.51:56443;instanceName=SQLSERVER;DatabaseName=EGOLMSAAS
spring.datasource.shop.driver-class-name
=
com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.shop.testWhileIdle
=
true
spring.datasource.shop.validationQuery
=
SELECT 1
spring.datasource.shop.timeBetweenEvictionRunsMillis
=
3600000
\ No newline at end of file
src/main/resources/application.properties
0 → 100644
View file @
19342d81
spring.profiles.active
=
dev
\ No newline at end of file
src/main/resources/ehcache.xml
0 → 100644
View file @
19342d81
<?xml version="1.0" encoding="UTF-8"?>
<ehcache
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"http://ehcache.org/ehcache.xsd"
updateCheck=
"false"
>
<defaultCache
eternal=
"false"
maxElementsInMemory=
"1000"
overflowToDisk=
"false"
diskPersistent=
"false"
timeToIdleSeconds=
"0"
timeToLiveSeconds=
"600"
memoryStoreEvictionPolicy=
"LRU"
/>
</ehcache>
src/main/resources/logback.xml
0 → 100644
View file @
19342d81
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<property
name=
"LOG_BASE_PATH"
value=
"/data/logs/admin"
/>
<include
resource=
"org/springframework/boot/logging/logback/base.xml"
/>
<logger
name=
"org"
level=
"INFO"
/>
<logger
name=
"com"
level=
"INFO"
/>
<logger
name=
"com.egolm"
level=
"DEBUG"
/>
<appender
name=
"siftingAppender"
class=
"ch.qos.logback.classic.sift.SiftingAppender"
>
<discriminator>
<key>
CTX_PATH
</key>
<DefaultValue>
admin
</DefaultValue>
</discriminator>
<sift>
<appender
name=
"rollingFileAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<FileNamePattern>
${LOG_BASE_PATH}/${CTX_PATH}-%d{yyyy-MM-dd}.log
</FileNamePattern>
<MaxHistory>
30
</MaxHistory>
</rollingPolicy>
<encoder
class=
"ch.qos.logback.classic.encoder.PatternLayoutEncoder"
>
<pattern>
${CONSOLE_LOG_PATTERN}
</pattern>
</encoder>
</appender>
</sift>
</appender>
<root
level=
"INFO"
>
<appender-ref
ref=
"siftingAppender"
/>
</root>
</configuration>
\ No newline at end of file
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