diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-01-12 00:56:01 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-01-12 00:56:01 +0200 |
commit | 7ad2b63ba89f241dce603320212a21749ecd8d1b (patch) | |
tree | 3e20fd1c74ec9a66f5e15af826af19647af3e3f6 /src | |
parent | 50c97c72c55ae211ad43f5cc7debf194e154426f (diff) |
apps.plugin logs NETDATA_HOST_PREFIX variable #43
Diffstat (limited to 'src')
-rwxr-xr-x | src/apps_plugin.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/apps_plugin.c b/src/apps_plugin.c index 8682764844..15afe232ca 100755 --- a/src/apps_plugin.c +++ b/src/apps_plugin.c @@ -1919,7 +1919,11 @@ int main(int argc, char **argv) program_name = "apps.plugin"; host_prefix = getenv("NETDATA_HOST_PREFIX"); - if(host_prefix == NULL) host_prefix = ""; + if(host_prefix == NULL) { + info("NETDATA_HOST_PREFIX is not passed from netdata"); + host_prefix = ""; + } + else info("Found NETDATA_HOST_PREFIX='%s'", host_prefix); info("starting..."); |