Skip to content

Commit 67c5a48

Browse files
authored
Merge pull request #238 from felixncheng/master
bug: 修复启动异常 #236
2 parents 498654b + 3e47bd9 commit 67c5a48

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

devops-boot-project/devops-boot-core/devops-logging/src/main/kotlin/com/tencent/devops/logging/LoggingAutoConfiguration.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@ import org.springframework.context.annotation.Configuration
1010
@Configuration(proxyBeanMethods = false)
1111
@ConditionalOnWebApplication
1212
@EnableConfigurationProperties(DevopsLoggingProperties::class)
13-
class LoggingAutoConfiguration {
14-
@Bean
15-
fun devopsLoggingApplicationListener() = DevopsLoggingApplicationListener()
16-
}
13+
class LoggingAutoConfiguration
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
org.springframework.context.ApplicationListener=\
2+
com.tencent.devops.logging.system.DevopsLoggingApplicationListener

0 commit comments

Comments
 (0)