Authored by qinchao

sql查询添加yh_live

... ... @@ -22,14 +22,14 @@
</appender>
<appender name="WARN" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/Data_new/monitor_logs/warn.log</file>
<file>/Data_new/monitor_logs/uilog/warn.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>
/Data_new/monitor_logs/warn.%d{yyyy-MM-dd}.%i.log.gz
/Data_new/monitor_logs/uilog/warn.%d{yyyy-MM-dd}.%i.log.gz
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
... ... @@ -45,14 +45,14 @@
<!-- DEBUG级别日志 appender -->
<appender name="DEBUG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/Data_new/monitor_logs/debug.log</file>
<file>/Data_new/monitor_logs/uilog/debug.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>
/Data_new/monitor_logs/debug.%d{yyyy-MM-dd}.%i.log.gz
/Data_new/monitor_logs/uilog/debug.%d{yyyy-MM-dd}.%i.log.gz
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
... ... @@ -68,14 +68,14 @@
<!-- 按照每天生成日志文件 -->
<appender name="APP_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/Data_new/monitor_logs/app.log</file>
<file>/Data_new/monitor_logs/uilog/app.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>
/Data_new/monitor_logs/app.%d{yyyy-MM-dd}.%i.log.gz
/Data_new/monitor_logs/uilog/app.%d{yyyy-MM-dd}.%i.log.gz
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
... ... @@ -92,14 +92,14 @@
<!-- 按照每天生成日志文件 -->
<appender name="BAN_IP_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/Data_new/monitor_logs/banIP.log</file>
<file>/Data_new/monitor_logs/uilog/banIP.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>
/Data_new/monitor_logs/banIP.%d{yyyy-MM-dd}.%i.log.gz
/Data_new/monitor_logs/uilog/banIP.%d{yyyy-MM-dd}.%i.log.gz
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
... ... @@ -135,14 +135,14 @@
<!-- 按照每天生成日志文件 -->
<appender name="API_TEST_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/Data_new/monitor_logs/apiTest.log</file>
<file>/Data_new/monitor_logs/uilog/apiTest.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>
/Data_new/monitor_logs/apiTest.%d{yyyy-MM-dd}.%i.log.gz
/Data_new/monitor_logs/uilog/apiTest.%d{yyyy-MM-dd}.%i.log.gz
</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<!-- or whenever the file size reaches 100MB -->
... ...
... ... @@ -98,6 +98,7 @@
<option value="10.67.1.65:3307">yohologs.yoho-mysql.org</option>
<option value="10.67.2.103:3306">msg.yoho-mysql.org</option>
<option value="172.31.200.221:3306">lineshops</option>
<option value="10.66.1.219:3306">yh_live</option>
<%--<option value="localhost:3306">Test</option>--%>
</select>
</div>
... ...