Browse Source

update smart-http to 1.0.12.rc-2 (#5271)

* update dockerfile

* update to 1.0.10-SNAPSHOT

* update to 1.0.10-beta

* fix bug

* update to 1.0.10.1119-beta

* update to 1.0.10.1128-beta

* 还原代码

* update to 1.0.10.1206-beta

* update to 1.0.10.1209-beta

* update to 1.0.10.1214-beta

* 增加缓冲区

* update to 1.0.10-beta

* update to 1.0.10.1231-beta

* update to 1.0.10.0106-beta

* update to 1.0.0107-beta

* update to 1.0.10.0113-beta

* set new pageSize

* update smart-socket to 1.4.0-rc.2

* update to 1.4.0-rc.3

* update smart-socket to 1.4.0-rc.4

* update  to 1.0.10.0221-beta

* update smart-socket to 1.4.0-rc.5

* update maxCompletionHandlersOnStack

* config thread number

* update  to 1.0.10.0324-beta

* update smart-socket to 1.4.0-rc.9

* update smart-socket to 1.4.0-rc.10

* update smart-socket to 1.4.0-rc.11

* update smart-socket to 1.4.0-rc.13

* update smart-socket to 1.4.0

* update smart-socket to 1.4.1-rc.1

* update smart-socket to 1.4.1-rc.2

* update smart-http to 1.0.10.0501-beta

* set thread config

* update smart-socket to 1.4.1

* update smart-socket to 1.4.0-rc.4

* config thead num

* update smart-http to 1.0.10.0623-beta

* update smart-http to 1.0.10.0630-beta

* update smart-socket to 1.4.2.rc-3

* update smart-socket to 1.4.0-rc.5

* update smart-socket to 1.4.0-rc.6

* update smart-socket to 1.4.0-rc.7

* update smart-socket to 1.4.0-rc.8

* update smart-socket to 1.4.3-rc.2

* update smart-socket to 1.4.3-rc.3

* update smart-socket to 1.4.3-rc.4

* update smart-socket to 1.4.3-rc.5

* update smart-socket to 1.4.3-rc.7

* update smart-socket to 1.4.3-rc.8

* update smart-socket to 1.4.3-rc.9

* Revert "update smart-socket to 1.4.3-rc.9"

This reverts commit 931babe

* update smart-socket to 1.4.3-rc.9

* update thread num

* update smart-socket to 1.4.3

* update smart-socket to 1.4.4.rc-1

* update smart-http to 1.0.10.1006-beta

* update smart-socket to 1.4.3

* update smart-socket to 1.4.4.rc-3

* update smart-socket to 1.4.4

* update smart-socket to 1.4.4.rc-5

* update smart-socket to 1.4.4.rc-6

* update smart-socket to 1.4.4.rc-7

* update smart-http to 1.0.10

* update smart-http to 1.0.11.1106-beta

* update smart-http to 1.0.11.1111-beta

* update smart-http to 1.0.11.1112-beta

* update smart-socket to 1.4.6.rc-1

* update smart-socket to 1.4.6.rc-3

* update smart-http to 1.0.12.rc-2
三刀 5 years ago
parent
commit
f0bf96d65e

+ 2 - 2
frameworks/Java/smart-socket/pom.xml

@@ -9,7 +9,7 @@
     <parent>
     <parent>
         <groupId>org.smartboot.http</groupId>
         <groupId>org.smartboot.http</groupId>
         <artifactId>smart-http-parent</artifactId>
         <artifactId>smart-http-parent</artifactId>
-        <version>1.0.11</version>
+        <version>1.0.12.rc-2</version>
     </parent>
     </parent>
     <properties>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -25,7 +25,7 @@
         <dependency>
         <dependency>
             <groupId>org.smartboot.socket</groupId>
             <groupId>org.smartboot.socket</groupId>
             <artifactId>aio-pro</artifactId>
             <artifactId>aio-pro</artifactId>
-            <version>1.4.6.rc-3</version>
+            <version>1.4.6.rc-5</version>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
             <groupId>com.jsoniter</groupId>
             <groupId>com.jsoniter</groupId>

+ 36 - 0
frameworks/Java/smart-socket/src/main/resources/log4j2.xml

@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration status='fatal' packages="org.smartboot.socket">
+
+    <Properties>
+        <!-- 设置为生产环境的日志存放目录 -->
+        <Property name="logPath">/opt/logs/smart-http</Property>
+    </Properties>
+
+    <Appenders>
+        <Console name="Console" target="SYSTEM_OUT">
+            <PatternLayout
+                    pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%t] %-5level %M(%F:%L) - %msg%xEx%n"/>
+        </Console>
+
+        <RollingFile name="DefaultRollingFile" fileName="${logPath}/dbapi-default.log"
+                     filePattern="${logPath}/dbapi-default-%d{MM-dd-yyyy}-%i.log">
+            <PatternLayout
+                    pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%t] %-5level %M(%F:%L) - %msg%xEx%n"/>
+            <Policies>
+                <TimeBasedTriggeringPolicy/>
+                <SizeBasedTriggeringPolicy size="20 MB"/>
+            </Policies>
+        </RollingFile>
+
+    </Appenders>
+
+    <Loggers>
+        <Root level="info">
+            <!-- 生产环境停用Console -->
+            <appender-ref ref="Console"/>
+            <!-- <appender-ref ref="DefaultRollingFile" /> -->
+        </Root>
+
+    </Loggers>
+
+</Configuration>