Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
老丢丢
SpringBoot2Demo
提交
ca664d03
S
SpringBoot2Demo
项目概览
老丢丢
/
SpringBoot2Demo
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SpringBoot2Demo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
ca664d03
编写于
11月 04, 2020
作者:
Q
qinxiaodong@pannk.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新
上级
7ab45529
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
357 addition
and
0 deletion
+357
-0
common-config/src/main/resources/logback-spring.xml
common-config/src/main/resources/logback-spring.xml
+75
-0
common-config/src/main/resources/logback.xsd
common-config/src/main/resources/logback.xsd
+282
-0
未找到文件。
common-config/src/main/resources/logback-spring.xml
0 → 100644
浏览文件 @
ca664d03
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
scanPeriod=
"60 seconds"
debug=
"false"
packageData=
""
>
<!-- scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认为true,开发环境建议设置为true-->
<!-- scanPeriod:设置检测配置文件是否有修改的时间间隔,默认单位是毫秒,当scan为true时,此属性生效,默认为1分钟-->
<!-- debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。-->
<contextName>
mms
</contextName>
<jmxConfigurator/>
<!--动态调整日志级别,可以通过JMX动态改变日志级别-->
<!--用来设置上下文名称,每个logger都关联到logger上下文,默认上下文名称为default。但可以使用<contextName>设置成其他名字,用于区分不同应用程序的记录。一旦设置,不能修改。-->
<property
name=
"log.base"
value=
"${user.dir}/logs"
/>
<!--用来定义变量值,它有两个属性name和value,通过<property>定义的值会被插入到logger上下文中,可以使“${}”来使用变量。-->
<timestamp
key=
"bySecond"
datePattern=
"yyyy-MM-dd HH:mm:ss"
/>
<!--key:标识此<timestamp> 的名字,datePattern:设置将当前时间(解析配置文件的时间)转换为字符串的模式,遵循java.txt.SimpleDateFormat的格式-->
<appender
name=
"STDOUT"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<pattern>
%-4relative [%thread] %-5level %logger{35} - %msg %n
</pattern>
</encoder>
</appender>
<!--把日志输出到控制台-->
<!--对记录日志进行格式化-->
<!--appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>test.log</file>
<append>true</append>
<encoder>
<pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender-->
<!--把日志添加到文件-->
<!--file:被写入的文件名,可以是相对目录,也可以是绝对目录,如果上级目录不存在会自动创建,没有默认值-->
<!--append:如果是 true,日志被追加到文件结尾,如果是 false,清空现存文件,默认是true。-->
<!--prudent:如果是 true,日志会被安全的写入文件,即使其他的FileAppender也在向此文件做写入操作,效率低,默认是 false。-->
<appender
name=
"ROLLINGFILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
logFile.%d{yyyy-MM-dd}.log
</fileNamePattern>
<maxHistory>
30
</maxHistory>
</rollingPolicy>
<encoder>
<pattern>
%-4relative [%thread] %-5level %logger{35} - %msg%n
</pattern>
</encoder>
</appender>
<logger
name=
"com.pannk.mms.modules"
level=
"DEBUG"
additivity=
"false"
>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"ROLLINGFILE"
/>
</logger>
<!--滚动记录文件,先将日志记录到指定文件,当符合某个条件时,将日志记录到其他文件-->
<!--rollingPolicy:当发生滚动时,决定RollingFileAppender的行为,涉及文件移动和重命名。属性class定义具体的滚动策略类-->
<!--TimeBasedRollingPolicy:最常用的滚动策略,它根据时间来制定滚动策略,既负责滚动也负责出发滚动-->
<!--fileNamePattern:必要节点,包含文件名及“%d”转换符,“%d”可以包含一个java.text.SimpleDateFormat指定的时间格式,如:%d{yyyy-MM}。
如果直接使用 %d,默认格式是 yyyy-MM-dd。RollingFileAppender的file字节点可有可无,通过设置file,可以为活动文件和归档文件指定不同位置,当前日志总是记录到file指定的文件(活动文件),活动文件的名字不会改变;
如果没设置file,活动文件的名字会根据fileNamePattern 的值,每隔一段时间改变一次。“/”或者“\”会被当做目录分隔符。 -->
<!--maxHistory:可选节点,控制保留的归档文件的最大数量,超出数量就删除旧文件。假设设置每个月滚动,且<maxHistory>是6,则只保存最近6个月的文件,删除之前的旧文件。注意,删除旧文件是,那些为了归档而创建的目录也会被删除。-->
<!--SizeBasedTriggeringPolicy:查看当前活动文件的大小,如果超过指定大小会告知RollingFileAppender 触发当前活动文件滚动,只有一个节点:maxFileSize:这是活动文件的大小,默认值是10MB。-->
<!--prudent:当为true时,不支持FixedWindowRollingPolicy。支持TimeBasedRollingPolicy,但是有两个限制,1不支持也不允许文件压缩,2不能设置file属性,必须留空。 -->
<!--triggeringPolicy:告知 RollingFileAppender 合适激活滚动-->
<!--FixedWindowRollingPolicy:根据固定窗口算法重命名文件的滚动策略-->
<!--有以下子节点:
<minIndex>:窗口索引最小值
<maxIndex>:窗口索引最大值,当用户指定的窗口过大时,会自动将窗口设置为12。
<fileNamePattern>:必须包含“%i”例如,假设最小值和最大值分别为1和2,命名模式为 mylog%i.log,会产生归档文件mylog1.log和mylog2.log。还可以指定文件压缩选项,例如,mylog%i.log.gz 或者 没有log%i.log.zip-->
<!--encoder:对记录事件进行格式化。负责两件事,一是把日志信息转换成字节数组,二是把字节数组写入到输出流。-->
<!--PatternLayoutEncoder 是唯一有用的且默认的encoder ,有一个<pattern>节点,用来设置日志的输入格式。使用“%”加“转换符”方式,如果要输出“%”,则必须用“\”对“\%”进行转义。-->
<!--SocketAppender、SMTPAppender、DBAppender、SyslogAppender、SiftingAppender不常用-->
<!--logger:用来设置某一个包或具体的某一个类的日志打印级别、以及指定<appender>,仅有一个name属性,一个可选的level和一个可选的additivity属性-->
<!--可以包含零个或多个<appender-ref>元素,标识这个appender将会添加到这个logger-->
<!--属性name: 用来指定受此logger约束的某一个包或者具体的某一个类。-->
<!--属性level: 用来设置打印级别,大小写无关:TRACE, DEBUG, INFO, WARN, ERROR, ALL和OFF,还有一个特俗值INHERITED或者同义词NULL,代表强制执行上级的级别。 如果未设置此属性,那么当前logger将会继承上级的级别。-->
<!--属性additivity: 是否向上级logger传递打印信息。默认是true。同<logger>一样,可以包含零个或多个<appender-ref>元素,标识这个appender将会添加到这个logger。-->
<!--root:它也是<logger>元素,但是它是根logger,是所有<logger>的上级。只有一个level属性,因为name已经被命名为"root",且已经是最上级了。-->
<!--level: 用来设置打印级别,大小写无关:TRACE, DEBUG, INFO, WARN, ERROR, ALL和OFF,不能设置为INHERITED或者同义词NULL。 默认是DEBUG。-->
<root
level=
"error"
>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"ROLLINGFILE"
/>
</root>
</configuration>
\ No newline at end of file
common-config/src/main/resources/logback.xsd
0 → 100644
浏览文件 @
ca664d03
<?xml version="1.0" encoding="UTF-8"?>
<!--
logback.xml schema,
https://github.com/enricopulatzo/logback-XSD
https://github.com/nkatsar/logback-XSD
-->
<xsd:schema
targetNamespace=
"http://ch.qos.logback/xml/ns/logback"
xmlns=
"http://ch.qos.logback/xml/ns/logback"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
attributeFormDefault=
"unqualified"
version=
"1.1"
>
<xsd:element
name=
"configuration"
type=
"Configuration"
/>
<xsd:element
name=
"included"
type=
"Configuration"
/>
<xsd:complexType
name=
"Configuration"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"shutdownHook"
minOccurs=
"0"
maxOccurs=
"1"
type=
"ShutdownHook"
/>
<xsd:element
name=
"statusListener"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"StatusListener"
/>
<xsd:element
name=
"contextListener"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"ContextListener"
/>
<xsd:element
name=
"jmxConfigurator"
minOccurs=
"0"
maxOccurs=
"1"
type=
"JmxConfigurator"
/>
<xsd:element
name=
"conversionRule"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"ConversionRule"
/>
<xsd:element
name=
"include"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"Include"
/>
<xsd:element
name=
"contextName"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:string"
/>
<xsd:element
name=
"define"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"Define"
/>
<xsd:element
name=
"timestamp"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Timestamp"
/>
<xsd:element
name=
"if"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"If"
/>
<xsd:element
name=
"property"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"Property"
/>
<xsd:element
name=
"appender"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"Appender"
/>
<xsd:element
name=
"logger"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"Logger"
/>
<xsd:element
name=
"root"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Root"
/>
<xsd:any
namespace=
"##other"
processContents=
"lax"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"debug"
type=
"xsd:boolean"
use=
"optional"
/>
<xsd:attribute
name=
"scan"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"scanPeriod"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"packagingData"
type=
"xsd:boolean"
use=
"optional"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"ShutdownHook"
>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"optional"
default=
"ch.qos.logback.core.hook.DelayingShutdownHook"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"ConversionRule"
>
<xsd:attribute
name=
"conversionWord"
type=
"xsd:string"
/>
<xsd:attribute
name=
"converterClass"
type=
"xsd:string"
/>
</xsd:complexType>
<xsd:complexType
name=
"StatusListener"
>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"optional"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"ContextListener"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"resetJUL"
type=
"xsd:boolean"
/>
<xsd:any
namespace=
"##other"
processContents=
"lax"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"class"
type=
"xsd:string"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"Include"
>
<xsd:attribute
name=
"file"
use=
"optional"
type=
"xsd:string"
/>
<xsd:attribute
name=
"resource"
use=
"optional"
type=
"xsd:string"
/>
<xsd:attribute
name=
"url"
use=
"optional"
type=
"xsd:string"
/>
<xsd:attribute
name=
"optional"
use=
"optional"
type=
"xsd:boolean"
/>
</xsd:complexType>
<xsd:complexType
name=
"Define"
>
<xsd:sequence>
<xsd:any
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"Timestamp"
>
<xsd:sequence>
<xsd:any
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
<xsd:attribute
name=
"key"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"datePattern"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"timeReference"
type=
"xsd:string"
use=
"optional"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"RollingPolicy"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"fileNamePattern"
minOccurs=
"1"
maxOccurs=
"1"
type=
"xsd:string"
/>
<xsd:element
name=
"maxHistory"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:int"
/>
<xsd:element
name=
"minIndex"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:int"
/>
<xsd:element
name=
"maxIndex"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:int"
/>
<xsd:element
name=
"timeBasedFileNamingAndTriggeringPolicy"
minOccurs=
"0"
maxOccurs=
"1"
type=
"TriggeringPolicy"
/>
<xsd:element
name=
"cleanHistoryOnStart"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:boolean"
/>
<xsd:element
name=
"maxFileSize"
minOccurs=
"0"
maxOccurs=
"1"
type=
"FileSize"
/>
<xsd:element
name=
"totalSizeCap"
minOccurs=
"0"
maxOccurs=
"1"
type=
"FileSize"
/>
</xsd:choice>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
<xsd:simpleType
name=
"FileSize"
>
<xsd:restriction
base=
"xsd:string"
>
<xsd:pattern
value=
"[1-9][0-9]*(KB|MB|GB)?"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType
name=
"TriggeringPolicy"
>
<xsd:sequence>
<xsd:element
name=
"maxFileSize"
minOccurs=
"0"
maxOccurs=
"1"
type=
"FileSize"
/>
</xsd:sequence>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
<xsd:complexType
name=
"If"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
type=
"Configuration"
name=
"then"
/>
<xsd:element
type=
"Configuration"
name=
"else"
/>
<xsd:any
namespace=
"##other"
processContents=
"lax"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"condition"
type=
"xsd:string"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"Property"
>
<xsd:sequence>
<xsd:any
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"value"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"file"
type=
"xsd:string"
use=
"optional"
/>
<xsd:attribute
name=
"resource"
type=
"xsd:string"
use=
"optional"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"Appender"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"target"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Target"
/>
<xsd:element
name=
"file"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:string"
/>
<xsd:element
name=
"withJansi"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:boolean"
/>
<xsd:element
name=
"encoder"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Encoder"
/>
<xsd:element
name=
"filter"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Filter"
/>
<xsd:element
name=
"append"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:boolean"
/>
<xsd:element
name=
"prudent"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:boolean"
/>
<xsd:element
name=
"layout"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Layout"
/>
<xsd:element
name=
"rollingPolicy"
minOccurs=
"0"
maxOccurs=
"1"
type=
"RollingPolicy"
/>
<xsd:element
name=
"connectionSource"
minOccurs=
"0"
maxOccurs=
"1"
type=
"ConnectionSource"
/>
<xsd:element
name=
"triggeringPolicy"
minOccurs=
"0"
maxOccurs=
"1"
type=
"TriggeringPolicy"
/>
<xsd:element
name=
"appender-ref"
minOccurs=
"0"
maxOccurs=
"1"
type=
"AppenderRef"
/>
<xsd:any
namespace=
"##other"
processContents=
"skip"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"required"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:simpleType
name=
"Target"
>
<xsd:restriction
base=
"xsd:string"
>
<xsd:enumeration
value=
"System.out"
/>
<xsd:enumeration
value=
"System.err"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType
name=
"Filter"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"level"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"LoggerLevel"
/>
<xsd:element
name=
"onMatch"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"MatchValue"
/>
<xsd:element
name=
"onMismatch"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"MatchValue"
/>
<xsd:any
namespace=
"##other"
processContents=
"lax"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"optional"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:simpleType
name=
"MatchValue"
>
<xsd:restriction
base=
"xsd:string"
>
<xsd:enumeration
value=
"ACCEPT"
/>
<xsd:enumeration
value=
"DENY"
/>
<xsd:enumeration
value=
"NEUTRAL"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType
name=
"Layout"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"pattern"
minOccurs=
"0"
maxOccurs=
"1"
type=
"xsd:string"
/>
<xsd:any
namespace=
"##other"
processContents=
"lax"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"optional"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"Logger"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"appender-ref"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"AppenderRef"
/>
<xsd:any
namespace=
"##other"
processContents=
"lax"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:choice>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
<xsd:attribute
name=
"level"
type=
"LoggerLevel"
use=
"optional"
/>
<xsd:attribute
name=
"additivity"
type=
"xsd:boolean"
use=
"optional"
default=
"true"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"Encoder"
>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"charset"
type=
"xsd:string"
minOccurs=
"0"
maxOccurs=
"1"
/>
<xsd:element
name=
"immediateFlush"
type=
"xsd:boolean"
minOccurs=
"0"
maxOccurs=
"1"
/>
<xsd:element
name=
"layout"
minOccurs=
"0"
maxOccurs=
"1"
type=
"Layout"
/>
<xsd:element
name=
"outputPatternAsHeader"
type=
"xsd:boolean"
minOccurs=
"0"
maxOccurs=
"1"
/>
<xsd:element
name=
"pattern"
type=
"xsd:string"
minOccurs=
"0"
maxOccurs=
"1"
/>
</xsd:choice>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"optional"
/>
</xsd:complexType>
<xsd:complexType
name=
"Root"
>
<xsd:sequence>
<xsd:element
name=
"appender-ref"
minOccurs=
"0"
maxOccurs=
"unbounded"
type=
"AppenderRef"
/>
</xsd:sequence>
<xsd:attribute
name=
"level"
use=
"required"
type=
"LoggerLevel"
/>
<xsd:anyAttribute/>
</xsd:complexType>
<xsd:complexType
name=
"AppenderRef"
>
<xsd:attribute
name=
"ref"
type=
"xsd:string"
/>
</xsd:complexType>
<xsd:simpleType
name=
"LoggerLevel"
>
<xsd:union>
<xsd:simpleType>
<xsd:restriction
base=
"xsd:string"
>
<xsd:enumeration
value=
"OFF"
/>
<xsd:enumeration
value=
"off"
/>
<xsd:enumeration
value=
"ALL"
/>
<xsd:enumeration
value=
"all"
/>
<xsd:enumeration
value=
"INHERITED"
/>
<xsd:enumeration
value=
"inherited"
/>
<xsd:enumeration
value=
"NULL"
/>
<xsd:enumeration
value=
"null"
/>
<xsd:enumeration
value=
"ERROR"
/>
<xsd:enumeration
value=
"error"
/>
<xsd:enumeration
value=
"WARN"
/>
<xsd:enumeration
value=
"warn"
/>
<xsd:enumeration
value=
"INFO"
/>
<xsd:enumeration
value=
"info"
/>
<xsd:enumeration
value=
"DEBUG"
/>
<xsd:enumeration
value=
"debug"
/>
<xsd:enumeration
value=
"TRACE"
/>
<xsd:enumeration
value=
"trace"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction
base=
"xsd:string"
>
<xsd:pattern
value=
"($\{.+:-)?[Oo][Ff]{2}\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Aa][Ll]{2}\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Ii][Nn][Hh][Ee][Rr][Ii][Tt][Ee][Dd]\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Nn][Uu][Ll]{2}\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Ee][Rr]{2}[Oo][Rr]\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Ww][Aa][Rr][Nn]\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Ii][Nn][Ff][Oo]\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Dd][Ee][Bb][Uu][Gg]\}?"
/>
<xsd:pattern
value=
"($\{.+:-)?[Tt][Rr][Aa][Cc][Ee]\}?"
/>
<xsd:pattern
value=
"\$\{.+\}"
/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:complexType
name=
"JmxConfigurator"
/>
<xsd:complexType
name=
"ConnectionSource"
>
<xsd:sequence>
<xsd:element
name=
"driverClass"
type=
"xsd:string"
/>
<xsd:element
name=
"url"
type=
"xsd:string"
/>
<xsd:element
name=
"user"
type=
"xsd:string"
/>
<xsd:element
name=
"password"
type=
"xsd:string"
/>
</xsd:sequence>
<xsd:attribute
name=
"class"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:schema>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录