We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee04d25 commit a6c6d7dCopy full SHA for a6c6d7d
src/Agent/NewRelic/Profiler/Configuration/Configuration.h
@@ -509,7 +509,7 @@ namespace NewRelic { namespace Profiler { namespace Configuration {
509
{
510
auto isIis = Strings::EndsWith(processName, _X("W3WP.EXE")) || Strings::EndsWith(parentProcessName, _X("W3WP.EXE"));
511
512
- LogInfo(_X("Process ") + processName + _X(" with parent process ") + parentProcessName + (isIis ? _X(" is") : _X(" is not")) + _X(" IIS."));
+ LogInfo(_X("Process ") + processName + (parentProcessName == _X("") ? _X("") : _X(" with parent process ") + parentProcessName) + (isIis ? _X(" is") : _X(" is not")) + _X(" IIS."));
513
514
return isIis;
515
}
0 commit comments