Skip to content

Commit 8e4e860

Browse files
committed
Change log level when service broker is unsupported.
1 parent 3945af4 commit 8e4e860

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/DemoServer/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
2929
)
3030
.ConfigureLogging(builder =>
3131
{
32-
builder.AddSystemdConsole(options =>
32+
builder.AddSimpleConsole(options =>
3333
{
34-
options.IncludeScopes = true;
3534
options.TimestampFormat = "hh:mm:ss ";
35+
options.SingleLine = true;
3636
});
3737
});
3838
});

src/IntelliTect.AspNetCore.SignalR.SqlServer/Internal/SqlServer/SqlReceiver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ private bool StartSqlDependencyListener()
369369
// Specifically that Azure SQL Database reports that service broker is enabled,
370370
// even though it is entirely unsupported.
371371

372-
_logger.LogInformation("{0}SQL Service Broker is unsupported by the target database. Falling back on periodic polling.", _tracePrefix);
372+
_logger.LogWarning("{0}SQL Service Broker is unsupported by the target database. Falling back on periodic polling.", _tracePrefix);
373373
_notificationsDisabled = true;
374374
return false;
375375
}

0 commit comments

Comments
 (0)