Browse Source

Merge branch 'release/S3'

master
郑贵龙 1 year ago
parent
commit
900413d3bc
4 changed files with 24 additions and 3 deletions
  1. +15
    -1
      demo-athenaopt_backend/develop/conf/log4j2.xml
  2. +1
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/infra/service/Impl/StaffServiceImpl.java
  3. +7
    -0
      demo-athenaopt_backend/pom.xml
  4. +1
    -1
      version_control/BUILD

+ 15
- 1
demo-athenaopt_backend/develop/conf/log4j2.xml View File

@ -48,9 +48,23 @@
<Async name="asyncSysAppender"> <Async name="asyncSysAppender">
<AppenderRef ref="mongoSysAppender"/> <AppenderRef ref="mongoSysAppender"/>
</Async--> </Async-->
<!-- 1.引入appender -->
<DwLog4j2Appender name="dwAppender" app="demo-athenaopt" endpoint="@lmcUrl@">
<PatternLayout pattern="${LOG_PATTERN}"/>
</DwLog4j2Appender>
<!-- 2.引入异步节点 -->
<Async name="ASYNC-dwAppender">
<AppenderRef ref="dwAppender"/>
</Async>
</Appenders> </Appenders>
<Loggers> <Loggers>
<Root level="@logLevel@">
<!--<Root level="@logLevel@">-->
<Root level="ERROR">
<!-- 3.引入使用 -->
<appender-ref ref="ASYNC-dwAppender"/>
<appender-ref ref="consoleAppender" /> <appender-ref ref="consoleAppender" />
<appender-ref ref="rollingfileAppender" /> <appender-ref ref="rollingfileAppender" />
<!-- appender-ref ref="asyncSysAppender" /--> <!-- appender-ref ref="asyncSysAppender" /-->


+ 1
- 1
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/infra/service/Impl/StaffServiceImpl.java View File

@ -1,4 +1,4 @@
package com.digiwin.athena.app.infra.service.impl;
package com.digiwin.athena.app.infra.service.Impl;
import com.digiwin.athena.app.infra.entity.StaffEntity; import com.digiwin.athena.app.infra.entity.StaffEntity;
import com.digiwin.athena.app.infra.repository.StaffRepository; import com.digiwin.athena.app.infra.repository.StaffRepository;


+ 7
- 0
demo-athenaopt_backend/pom.xml View File

@ -56,6 +56,13 @@
<version>${api.version}</version> <version>${api.version}</version>
</dependency> </dependency>
<!--引入 lmc-sdk 依赖包-->
<dependency>
<groupId>com.digiwin.dap.middleware</groupId>
<artifactId>lmc-sdk-log4j2</artifactId>
<version>2.2.0.0</version>
</dependency>
<dependency> <dependency>
<groupId>com.digiwin.lcdp</groupId> <groupId>com.digiwin.lcdp</groupId>
<artifactId>lcdp-modeldriven</artifactId> <artifactId>lcdp-modeldriven</artifactId>


+ 1
- 1
version_control/BUILD View File

@ -1 +1 @@
1045
1049

Loading…
Cancel
Save