Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ServiceControl.Audit/Auditing/AuditIngestion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ FailedAuditImport FailedMessageFactory(FailedTransportMessage msg)

Task OnCriticalError(string failure, Exception exception)
{
logger.Warn($"OnCriticalError. '{failure}'", exception);
logger.Fatal($"OnCriticalError. '{failure}'", exception);
return watchdog.OnFailure(failure);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void ConfigureLogging(LoggingSettings loggingSettings)

var version = FileVersionInfo.GetVersionInfo(typeof(Bootstrapper).Assembly.Location).ProductVersion;
var nlogConfig = new LoggingConfiguration();
var simpleLayout = new SimpleLayout("${longdate}|${threadid}|${level}|${logger}|${message}${onexception:${newline}${exception:format=tostring}}");
var simpleLayout = new SimpleLayout("${longdate}|${threadid}|${level}|${logger}|${message}${onexception:|${exception:format=tostring}}");
var header = $@"-------------------------------------------------------------
ServiceControl Audit Version: {version}
-------------------------------------------------------------";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void Configure(Settings settings, bool logToConsole)

var version = FileVersionInfo.GetVersionInfo(typeof(Bootstrapper).Assembly.Location).ProductVersion;
var nlogConfig = new LoggingConfiguration();
var simpleLayout = new SimpleLayout("${longdate}|${threadid}|${level}|${logger}|${message}${onexception:${newline}${exception:format=tostring}}");
var simpleLayout = new SimpleLayout("${longdate}|${threadid}|${level}|${logger}|${message}${onexception:|${exception:format=tostring}}");
var header = $@"-------------------------------------------------------------
ServiceControl Monitoring Version: {version}
Selected Transport: {settings.TransportType}
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceControl/LoggingConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void ConfigureLogging(LoggingSettings loggingSettings)

var version = FileVersionInfo.GetVersionInfo(typeof(Bootstrapper).Assembly.Location).ProductVersion;
var nlogConfig = new LoggingConfiguration();
var simpleLayout = new SimpleLayout("${longdate}|${threadid}|${level}|${logger}|${message}${onexception:${newline}${exception:format=tostring}}");
var simpleLayout = new SimpleLayout("${longdate}|${threadid}|${level}|${logger}|${message}${onexception:|${exception:format=tostring}}");
var header = $@"-------------------------------------------------------------
ServiceControl Version: {version}
-------------------------------------------------------------";
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceControl/Operations/ErrorIngestion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ async Task OnMessage(MessageContext messageContext)

Task OnCriticalError(string failure, Exception exception)
{
logger.Warn($"OnCriticalError. '{failure}'", exception);
logger.Fatal($"OnCriticalError. '{failure}'", exception);
return watchdog.OnFailure(failure);
}

Expand Down