mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-06 13:48:51 +08:00
feat: Add log optimization option and enhance logging configuration
This commit is contained in:
@@ -30,7 +30,7 @@ const renderFn: RenderFunction = (ctx, render) => {
|
||||
export async function startServer(path: string) {
|
||||
cfg_path = path;
|
||||
const cfg = await load_settings(path);
|
||||
await base_logger.init(cfg.db_path || cfg.base);
|
||||
await base_logger.init(cfg);
|
||||
task_manager = new TaskManager(cfg);
|
||||
await task_manager.init();
|
||||
task_manager.run(true).catch((e) => {
|
||||
|
||||
Reference in New Issue
Block a user