Skip to content

Commit

Permalink
Fixed Logging setup (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kralizek authored Feb 13, 2019
1 parent ad4c82f commit a783d27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions content/NetCoreRabbitMq/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ static async Task Main(string[] args)

builder.ConfigureLogging((context, logging) =>
{
logging.AddConfiguration(context.Configuration.GetSection("Logging"));
logging.AddConsole();
});

Expand Down
3 changes: 2 additions & 1 deletion content/NetCoreRabbitMq/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Warning"
"Default": "Warning",
"Nybus": "Warning"
}
},
"Nybus": {
Expand Down

0 comments on commit a783d27

Please sign in to comment.