Configure log4net loggers

This commit is contained in:
2025-09-05 15:31:06 +02:00
parent 62090d1677
commit 8439b8b2ab
3 changed files with 26 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ using (IServiceScope scope = app.Services.CreateScope())
}
Tranga.SetServiceProvider(app.Services);
Tranga.StartLogger();
Tranga.StartLogger(new FileInfo("Log4Net.config.xml"));
Tranga.AddDefaultWorkers();
app.UseCors("AllowAll");