chore: adjust log directory
This commit is contained in:
parent
58f4448438
commit
55276354db
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ builder.Configuration.AddJsonFile("settings.json", true, true)
|
||||||
builder.Services.AddLogging();
|
builder.Services.AddLogging();
|
||||||
var loggerFactory = LoggerFactory.Create(loggingBuilder =>
|
var loggerFactory = LoggerFactory.Create(loggingBuilder =>
|
||||||
{
|
{
|
||||||
loggingBuilder.AddFile("Logs/Server-{Date}.log", LogLevel.Trace);
|
loggingBuilder.AddFile("logs/Server-{Date}.log", LogLevel.Trace);
|
||||||
loggingBuilder.AddFile("Logs/Server-{Date}.json.log", LogLevel.Trace, isJson: true);
|
loggingBuilder.AddFile("logs/Server-{Date}.json.log", LogLevel.Trace, isJson: true);
|
||||||
loggingBuilder.AddConsole();
|
loggingBuilder.AddConsole();
|
||||||
});
|
});
|
||||||
builder.Services.AddDbContextPool<WonderkingContext>(o =>
|
builder.Services.AddDbContextPool<WonderkingContext>(o =>
|
||||||
|
|
Loading…
Reference in a new issue