mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-10 21:19:00 +08:00
🔥 移除代码或文件。删除pigx-config 无用文件,优化日志
This commit is contained in:
1 parent
2e667b1ff4
commit
f17297defc
15 files changed
+12
-420
No files matched your search
@@ -33,8 +33,9 @@ public class PigxNacosApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.setProperty(ConfigConstant.TOMCAT_DIR, "logs");
|
||||
System.setProperty(ConfigConstant.TOMCAT_ACCESS_LOG, "false");
|
||||
System.setProperty(ConfigConstant.NACOS_HOME, "pigx-config");
|
||||
System.setProperty(ConfigConstant.USER_HOME, "logs");
|
||||
System.setProperty(ConfigConstant.NACOS_LOGS_PATH, "logs/nacos");
|
||||
System.setProperty(ConfigConstant.STANDALONE_MODE, "true");
|
||||
SpringApplication.run(PigxNacosApplication.class, args);
|
||||
}
|
||||
|
||||
@@ -15,6 +15,11 @@ public interface ConfigConstant {
|
||||
*/
|
||||
String USER_HOME = "user.home";
|
||||
|
||||
/**
|
||||
* nacos 日志路径配置
|
||||
*/
|
||||
String NACOS_LOGS_PATH = "nacos.logs.path";
|
||||
|
||||
/**
|
||||
* nacos 家目录
|
||||
*/
|
||||
@@ -24,4 +29,9 @@ public interface ConfigConstant {
|
||||
* tomcat 目录
|
||||
*/
|
||||
String TOMCAT_DIR = "server.tomcat.basedir";
|
||||
|
||||
/**
|
||||
* tomcat 日志配置
|
||||
*/
|
||||
String TOMCAT_ACCESS_LOG = "server.tomcat.accesslog.enabled";
|
||||
}
|
||||
Reference in new issue
Block a user