A Python application for monitoring Laravel log files in real-time with filtering capabilities.
- Real-time log file monitoring
- Table-based log display with columns for Time, Type, and Message
- Expandable details view showing full stack traces and JSON data
- Filter logs by Laravel log levels (emergency, alert, critical, error, warning, notice, info, debug)
- Start/Stop watching functionality
- Clear display option
- Empty log file option (with confirmation)
- Modern Qt-based user interface with splitter for adjustable views
- Clone this repository
- Create a virtual environment (recommended):
python -m venv venv
source venv/Scripts/activate # On Windows
- Install dependencies:
pip install -r requirements.txt
python lara_log_watcher.py
To create a standalone executable:
pyinstaller --onefile --windowed lara_log_watcher.py
The executable will be created in the dist
directory.
- Click "Select Log File" to choose your Laravel log file
- Use the checkboxes to filter specific log levels (filters update in real-time)
- Click "Start Watching" to begin monitoring the log file
- Click on any log entry to view its full details in the bottom panel
- Use "Clear Display" to clear the current view (doesn't affect the log file)
- Use "Empty Log" to delete all contents of the log file (requires confirmation)
- Click "Stop Watching" to pause monitoring
- Python 3.7+
- PyQt5
- watchdog