Log updates

This commit is contained in:
Raven Scott
2026-05-28 12:14:42 -04:00
parent ca324ec4a6
commit 44fbc3be92
5 changed files with 18 additions and 2 deletions
+2
View File
@@ -16,6 +16,7 @@ const LEVEL_NAMES = ['DEBUG', 'INFO', 'WARN', 'ERROR'];
const LOG_CHANNELS = {
core: { file: 'core.log', label: 'Core', console: true },
proxy: { file: 'proxy.log', label: 'Internal Proxy', console: false },
httpProxy: { file: 'http-proxy.log', label: 'HTTP Proxy', console: false },
dns: { file: 'dns.log', label: 'DNS', console: false },
plugins: { file: 'plugins.log', label: 'Plugins', console: false },
holesail: { file: 'holesail.log', label: 'Holesail', console: false }
@@ -40,6 +41,7 @@ function getLogDir() {
function resolveChannel(prefix) {
if (!prefix) return 'core';
if (prefix === 'Internal Proxy') return 'proxy';
if (prefix === 'HTTP Proxy') return 'httpProxy';
if (prefix === 'DNS') return 'dns';
if (prefix === 'Holesail' || prefix.startsWith('Holesail')) return 'holesail';
if (