mirror of
https://github.com/bitwarden/server.git
synced 2024-12-26 17:37:36 +01:00
updated to loggr rc2
This commit is contained in:
parent
37ec1de7a3
commit
6f7b8314bc
@ -20,7 +20,7 @@ using Repos = Bit.Core.Repositories.SqlServer;
|
||||
using System.Text;
|
||||
using StackExchange.Redis.Extensions.Core;
|
||||
using StackExchange.Redis.Extensions.Protobuf;
|
||||
//using Loggr.Extensions.Logging;
|
||||
using Loggr.Extensions.Logging;
|
||||
|
||||
namespace Bit.Api
|
||||
{
|
||||
@ -154,10 +154,10 @@ namespace Bit.Api
|
||||
|
||||
if(!env.IsDevelopment())
|
||||
{
|
||||
//loggerFactory.AddLoggr(
|
||||
// LogLevel.Error,
|
||||
// globalSettings.Loggr.LogKey,
|
||||
// globalSettings.Loggr.ApiKey);
|
||||
loggerFactory.AddLoggr(
|
||||
LogLevel.Error,
|
||||
globalSettings.Loggr.LogKey,
|
||||
globalSettings.Loggr.ApiKey);
|
||||
}
|
||||
|
||||
// Add static files to the request pipeline.
|
||||
|
@ -18,7 +18,8 @@
|
||||
"Microsoft.AspNetCore.Cors": "1.0.0-rc2-final",
|
||||
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
|
||||
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
|
||||
"Microsoft.Extensions.Configuration.Binder": "1.0.0-rc2-final"
|
||||
"Microsoft.Extensions.Configuration.Binder": "1.0.0-rc2-final",
|
||||
"Loggr.Extensions.Logging": "1.0.0-rc2-final"
|
||||
},
|
||||
|
||||
"tools": {
|
||||
|
Loading…
Reference in New Issue
Block a user