mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-28 18:29:05 +01:00
- Removed fallback logic that was reading from master domain log file when child domain log file was empty - This was causing cross-contamination - showing API logs when viewing cmstest logs - Now only reads from the specific domain's log file as determined by _get_log_file_path() - Fixed log parsing to correctly extract resource path (field 5) and size (field 8) - Log format doesn't include domain name, so domain is determined by which log file is read The issue was that when cmstest log file was old/empty, the code was falling back to reading from newstargeted.com.access_log which contained logs from all sub-domains, causing API logs to appear when viewing cmstest logs.