Skip to content

Commit

Permalink
Fixes alibaba#222
Browse files Browse the repository at this point in the history
  • Loading branch information
hxy1991 committed Nov 9, 2018
1 parent 2ded3cf commit cc9fa1f
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,14 @@ public void environmentPrepared(ConfigurableEnvironment environment) {

@Override
public void contextPrepared(ConfigurableApplicationContext context) {
System.out.printf("Log files: %s/logs/", NACOS_HOME);
System.out.println();
System.out.printf("Conf files: %s/conf/", NACOS_HOME);
System.out.println();
System.out.printf("Data files: %s/data/", NACOS_HOME);
System.out.println();
System.out.printf("Log files: %s/logs/%n", NACOS_HOME);
System.out.printf("Conf files: %s/conf/%n", NACOS_HOME);
System.out.printf("Data files: %s/data/%n", NACOS_HOME);

if (!STANDALONE_MODE) {
try {
List<String> clusterConf = readClusterConf();
System.out.printf("The server IP list of Nacos is %s", clusterConf);
System.out.println();
System.out.printf("The server IP list of Nacos is %s%n", clusterConf);
} catch (IOException e) {
logger.error("read cluster conf fail", e);
}
Expand Down

0 comments on commit cc9fa1f

Please sign in to comment.