@@ -51,8 +50,9 @@ public class SnifferConfigInitializer {
...
@@ -51,8 +50,9 @@ public class SnifferConfigInitializer {
privatestaticbooleanIS_INIT_COMPLETED=false;
privatestaticbooleanIS_INIT_COMPLETED=false;
/**
/**
* If the specified agent config path is set, the agent will try to locate the specified agent config.
* If the specified agent config path is set, the agent will try to locate the specified agent config. If the
* If the specified agent config path is not set , the agent will try to locate `agent.config`, which should be in the /config dictionary of agent package.
* specified agent config path is not set , the agent will try to locate `agent.config`, which should be in the
* /config dictionary of agent package.
* <p>
* <p>
* Also try to override the config by system.env and system.properties. All the keys in these two places should
* Also try to override the config by system.env and system.properties. All the keys in these two places should
* start with {@link #ENV_KEY_PREFIX}. e.g. in env `skywalking.agent.application_code=yourAppName` to override
* start with {@link #ENV_KEY_PREFIX}. e.g. in env `skywalking.agent.application_code=yourAppName` to override
...
@@ -67,14 +67,10 @@ public class SnifferConfigInitializer {
...
@@ -67,14 +67,10 @@ public class SnifferConfigInitializer {