🔥 移除代码或文件。删除pigx-config 无用文件,优化日志

This commit is contained in:
冷冷 committed 2019-04-19 14:43:54 +08:00
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";
}