Commit cecbbe32 by QIANGLU

update pub logs

parent 06ea82a7
...@@ -23,7 +23,7 @@ public class ApolloContextInitializer implements ApplicationContextInitializer<C ...@@ -23,7 +23,7 @@ public class ApolloContextInitializer implements ApplicationContextInitializer<C
String appId = environment.getProperty("spring.application.name"); String appId = environment.getProperty("spring.application.name");
String cacheDir = environment.getProperty("apollo.cacheDir" , "/data/cacheDir"); String cacheDir = environment.getProperty("apollo.cacheDir" , "/data/cacheDir");
String namespaces = environment.getProperty("apollo.bootstrap.namespaces" , "application,jg.pub_logs"); String namespaces = environment.getProperty("apollo.bootstrap.namespaces" , "application,arch.pub_logs");
if (!StringUtils.isEmpty(appId)) { if (!StringUtils.isEmpty(appId)) {
System.setProperty("app.id" , appId); System.setProperty("app.id" , appId);
System.setProperty("apollo.cacheDir" , cacheDir); System.setProperty("apollo.cacheDir" , cacheDir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment