File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
core/src/main/java/com/microsoft/applicationinsights/internal/perfcounter Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -150,14 +150,17 @@ public static double getValueOfPerformanceCounter(String name) {
150150 return getPerformanceCounterValue (name );
151151 }
152152
153+ /**
154+ * @throws NumberFormatException if pid cannot be parsed.
155+ */
153156 private static void initNativeCode () {
154157 int processId = Integer .parseInt (SystemInformation .INSTANCE .getProcessId ());
155158
156159 currentInstanceName = getInstanceName (processId );
157160 if (StringUtils .isEmpty (currentInstanceName )) {
158161 InternalLogger .INSTANCE .error ("Failed to fetch current process instance name, process counters for for the process level will not be activated." );
159162 } else {
160- InternalLogger .INSTANCE .trace ("Java process name is set to '%s'" , currentInstanceName );
163+ InternalLogger .INSTANCE .info ("Java process instance name is set to '%s'" , currentInstanceName );
161164 }
162165 }
163166
You can’t perform that action at this time.
0 commit comments