mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-11 04:18:18 +02:00
Configure log4net loggers
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user