File tree 1 file changed +3
-0
lines changed
internal-api/src/main/java/datadog/trace/bootstrap/config/provider
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,8 @@ private static String processTemplateVar(String templateVar) throws IOException
244
244
}
245
245
String value = System .getenv (envVar .toUpperCase ());
246
246
if (value == null || value .isEmpty ()) {
247
+ log .debug (
248
+ "Environment variable specified in template {} has no value" , envVar .toUpperCase ());
247
249
return UNDEFINED_VALUE ;
248
250
}
249
251
return value ;
@@ -261,6 +263,7 @@ private static String processTemplateVar(String templateVar) throws IOException
261
263
}
262
264
String value = System .getProperty (processArg .substring (2 ));
263
265
if (value == null || value .isEmpty ()) {
266
+ log .debug ("Process argument specified in template {} has no value" , processArg );
264
267
return UNDEFINED_VALUE ;
265
268
}
266
269
return value ;
You can’t perform that action at this time.
0 commit comments