Skip to content

Commit bbed14d

Browse files
author
Manikanta Nallagatla
committed
try
1 parent 9826cf9 commit bbed14d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/WebJobs.Script.WebHost/Diagnostics/LinuxContainerEventGenerator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public override void LogAzureMonitorDiagnosticLogEvent(LogLevel level, string re
161161
// Skip logging if the category is not in the list of categories to log.
162162
// We set the env variable WEBSITE_FUNCTIONS_AZUREMONITOR_CATEGORIES in legion platform only.
163163
// We check for _azmonitorCategories != null to ensure we dont check azmonitorCategories for all other platform cases.
164-
_writeEvent($"{ScriptConstants.LinuxAzureMonitorEventStreamName} {(int)ToEventLevel(level)},return here: {resourceId},{operationName},{category},{regionName},{NormalizeString(properties.Replace("'", string.Empty))},{_containerName},{TenantId},{DateTime.UtcNow.ToString()}");
165164
return;
166165
}
167166
_writeEvent($"{ScriptConstants.LinuxAzureMonitorEventStreamName} {(int)ToEventLevel(level)},{resourceId},{operationName},{category},{regionName},{NormalizeString(properties.Replace("'", string.Empty))},{_containerName},{TenantId},{DateTime.UtcNow.ToString()}");

0 commit comments

Comments
 (0)