public class Slite2LogPathInit extends Object
Created by yangguanchao on 16/11/3.
| Constructor and Description |
|---|
Slite2LogPathInit() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initLoggingPath(String middlewareLoggingPath)
在中间件 starter 的 ApplicationContextInitializer 要调用此函数做判断,来达到设置日志路径的目的:
|
public static void initLoggingPath(String middlewareLoggingPath)
1.是否设置了全局路径参数 logging.path 2.没有设置将设置路径 middlewareLoggingPath
middlewareLoggingPath - 中间件日志路径参数Copyright © 2024. All rights reserved.