派生自 projectDept/qhighschool

yn147
2023-09-11 c7fd3b83e25036d1556a426eef0e500d6f434e39
src/main/resources/log4j2.xml
@@ -6,8 +6,8 @@
      </Console>
      <RollingRandomAccessFile name="File"
         fileName="D:/log/qxueyou.log" append="true"
         filePattern="D:/log/qxueyou-%d{yyyyMMdd}-%i.log">
         fileName="C:/log/qxueyou.log" append="true"
         filePattern="C:/log/qxueyou-%d{yyyyMMdd}-%i.log">
         <PatternLayout>
            <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</Pattern>
         </PatternLayout>
@@ -19,8 +19,8 @@
      </RollingRandomAccessFile>
      
      <RollingRandomAccessFile name="error_file"
         fileName="D:/log/qxueyou_err.log" append="true"
         filePattern="D:/log/qxueyou_err-%d{yyyyMMdd}-%i.log">
         fileName="C:/log/qxueyou_err.log" append="true"
         filePattern="C:/log/qxueyou_err-%d{yyyyMMdd}-%i.log">
         <PatternLayout>
            <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</Pattern>
         </PatternLayout>
@@ -32,8 +32,8 @@
      </RollingRandomAccessFile>
      
      <RollingRandomAccessFile name="OnsFile"
         fileName="D:/logOns/qxueyouOns.log" append="true"
         filePattern="D:/logOns/qxueyouOns-%d{yyyyMMdd}-%i.log">
         fileName="C:/logOns/qxueyouOns.log" append="true"
         filePattern="C:/logOns/qxueyouOns-%d{yyyyMMdd}-%i.log">
         <PatternLayout>
            <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</Pattern>
         </PatternLayout>