mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +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 System.Text;
|
||||||
using StackExchange.Redis.Extensions.Core;
|
using StackExchange.Redis.Extensions.Core;
|
||||||
using StackExchange.Redis.Extensions.Protobuf;
|
using StackExchange.Redis.Extensions.Protobuf;
|
||||||
//using Loggr.Extensions.Logging;
|
using Loggr.Extensions.Logging;
|
||||||
|
|
||||||
namespace Bit.Api
|
namespace Bit.Api
|
||||||
{
|
{
|
||||||
@ -154,10 +154,10 @@ namespace Bit.Api
|
|||||||
|
|
||||||
if(!env.IsDevelopment())
|
if(!env.IsDevelopment())
|
||||||
{
|
{
|
||||||
//loggerFactory.AddLoggr(
|
loggerFactory.AddLoggr(
|
||||||
// LogLevel.Error,
|
LogLevel.Error,
|
||||||
// globalSettings.Loggr.LogKey,
|
globalSettings.Loggr.LogKey,
|
||||||
// globalSettings.Loggr.ApiKey);
|
globalSettings.Loggr.ApiKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add static files to the request pipeline.
|
// Add static files to the request pipeline.
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
"Microsoft.AspNetCore.Cors": "1.0.0-rc2-final",
|
"Microsoft.AspNetCore.Cors": "1.0.0-rc2-final",
|
||||||
"Microsoft.AspNetCore.Diagnostics": "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.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": {
|
"tools": {
|
||||||
|
Loading…
Reference in New Issue
Block a user