✨ Introducing new features. #3219 支持配置 nacos access-log 关闭
This commit is contained in:
1 parent
08ef5b8001
commit
ad4b79106a
2 files changed
+6
No files matched your search
@@ -54,6 +54,7 @@ public class PigxNacosApplication {
|
||||
System.setProperty(ConfigConstants.STANDALONE_MODE, "true");
|
||||
System.setProperty(ConfigConstants.AUTH_ENABLED, "false");
|
||||
System.setProperty(ConfigConstants.LOG_BASEDIR, "logs");
|
||||
System.setProperty(ConfigConstants.LOG_ENABLED, "false");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,4 +40,9 @@ public interface ConfigConstants {
|
||||
*/
|
||||
String LOG_BASEDIR = "server.tomcat.basedir";
|
||||
|
||||
/**
|
||||
* ACCSESS日志关闭
|
||||
*/
|
||||
String LOG_ENABLED = "server.tomcat.accesslog.enabled";
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user