1.1 KiB
1.1 KiB
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.phpPanel/modules/gamemanager/view_server_log.phpPanel/modules/gamemanager/get_server_log.phpAgent_Linux/ogp_agent.plAgent-Windows/ogp_agent.pl
What Works
- live log retrieval exists
- logs can be fetched through the Panel
- the viewer can update via AJAX
- the main game log viewer uses a large monospace output panel
What Still Needs Cleanup
- better startup failure diagnostics
- clearer newest-log-file selection
- better error highlighting
- better downloadable log history
Log Viewer Layout
Panel/modules/gamemanager/log.php keeps the AJAX refresh behavior and renders the log in a large textarea:
- desktop height around
55vh - mobile height around
45vh - monospace font
- preserved line breaks
- vertical scrolling inside the log panel
- long-line overflow remains usable without shrinking the panel to one line