# Logging System ## Current State Logging comes from multiple places: - agent screen logs - console logs - update logs - scheduler logs - admin/logger history Important references: - `Panel/modules/gamemanager/log.php` - `Panel/modules/gamemanager/view_server_log.php` - `Panel/modules/gamemanager/get_server_log.php` - `Agent_Linux/ogp_agent.pl` - `Agent-Windows/ogp_agent.pl` ## What Works - live log retrieval exists - logs can be fetched through the Panel - the viewer can update via AJAX ## What Still Needs Cleanup - better startup failure diagnostics - clearer newest-log-file selection - better error highlighting - better downloadable log history