================================================================================
                              FILE SEARCH LOG
================================================================================

--------------------------------------------------------------------------------
SYSTEM INFORMATION
--------------------------------------------------------------------------------
| Property         | Value                                      |
|------------------|--------------------------------------------|
| Application      | File Search Tkinter                        |
| Version          | 1.0.0                                      |
| Python Version   | 3.9.7                                      |
| Platform         | Linux-6.1.0-37-amd64-x86_64-with-glibc2.31|
| Start Time       | 2024-01-15 14:32:15.123456                |
| Working Dir      | /home/mateo/Documents/Workspace/file-search|
| Log Level        | DEBUG                                      |
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
APPLICATION EVENTS
--------------------------------------------------------------------------------
[2024-01-15 14:32:15] [INFO]  File Search application started
[2024-01-15 14:32:16] [DEBUG] Theme configured successfully
[2024-01-15 14:32:16] [DEBUG] UI widgets created
[2024-01-15 14:32:16] [DEBUG] Layout configured
[2024-01-15 14:32:16] [DEBUG] Events bound
[2024-01-15 14:32:18] [INFO]  User initiated search for: "authentication"
[2024-01-15 14:32:18] [DEBUG] Using fetch_logs command: /home/mateo/Documents/Workspace/file-search/bin/fetch_logs
[2024-01-15 14:32:19] [DEBUG] fetch_logs returned path: /home/mateo/Documents/Workspace/file-search/src/file_search_tk
[2024-01-15 14:32:19] [DEBUG] Found 3 files in /home/mateo/Documents/Workspace/file-search/src/file_search_tk
[2024-01-15 14:32:19] [INFO]  Found 3 files containing 'authentication'
[2024-01-15 14:32:21] [INFO]  Opening app.py
[2024-01-15 14:32:21] [INFO]  Successfully loaded app.py (684 characters)
[2024-01-15 14:32:23] [DEBUG] Found 5 matches for pattern: authentication
[2024-01-15 14:32:25] [INFO]  User navigated to next match
[2024-01-15 14:32:27] [INFO]  User navigated to previous match
[2024-01-15 14:32:30] [INFO]  User initiated search for: "regex"
[2024-01-15 14:32:30] [DEBUG] Using fetch_logs command: /home/mateo/Documents/Workspace/file-search/bin/fetch_logs
[2024-01-15 14:32:31] [DEBUG] fetch_logs returned path: /home/mateo/Documents/Workspace/file-search/src/file_search_tk
[2024-01-15 14:32:31] [DEBUG] Found 3 files in /home/mateo/Documents/Workspace/file-search/src/file_search_tk
[2024-01-15 14:32:31] [INFO]  Found 3 files containing 'regex'
[2024-01-15 14:32:33] [INFO]  Opening __init__.py
[2024-01-15 14:32:33] [INFO]  Successfully loaded __init__.py (23 characters)
[2024-01-15 14:32:35] [DEBUG] No matches found for pattern: regex
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
PERFORMANCE METRICS
--------------------------------------------------------------------------------
| Operation        | Duration (ms) | Status   | Details                    |
|------------------|---------------|----------|----------------------------|
| Application Init | 145           | Success  | UI fully loaded            |
| Search #1        | 890           | Success  | Found 3 files              |
| File Load #1     | 45            | Success  | app.py (684 chars)         |
| Search #2        | 750           | Success  | Found 3 files              |
| File Load #2     | 12            | Success  | __init__.py (23 chars)     |
| Memory Usage     | 45.2 MB       | Normal   | Peak: 47.8 MB              |
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
ERROR TRACKING
--------------------------------------------------------------------------------
| Timestamp         | Level | Error Type        | Message                          | Resolution |
|-------------------|-------|-------------------|----------------------------------|------------|
| 2024-01-15 14:33:10 | ERROR | FileNotFound      | fetch_logs command not found     | Added to PATH |
| 2024-01-15 14:33:15 | ERROR | PermissionError   | Cannot read /etc/shadow          | Insufficient permissions |
| 2024-01-15 14:33:20 | WARN  | UnicodeDecode     | Binary file detected: image.png  | Skipped gracefully |
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
USER ACTIONS
--------------------------------------------------------------------------------
| Timestamp         | Action            | Details                          | Result |
|-------------------|-------------------|----------------------------------|--------|
| 2024-01-15 14:32:18 | Search Query      | "authentication"                 | 3 files |
| 2024-01-15 14:32:21 | File Selection    | app.py                           | Success |
| 2024-01-15 14:32:25 | Navigation        | Next match                       | Success |
| 2024-01-15 14:32:27 | Navigation        | Previous match                   | Success |
| 2024-01-15 14:32:30 | Search Query      | "regex"                          | 3 files |
| 2024-01-15 14:32:33 | File Selection    | __init__.py                      | Success |
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
FILE SUMMARY
--------------------------------------------------------------------------------
| File Name    | Size (bytes) | Modified            | Matches | Status |
|--------------|--------------|---------------------|---------|--------|
| app.py       | 684          | 2024-01-15 10:45:12 | 5       | Loaded |
| __init__.py  | 23           | 2024-01-15 09:30:45 | 0       | Loaded |
| config.json  | 156          | 2024-01-15 08:15:33 | 2       | Pending |
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
DEBUG DETAILS
--------------------------------------------------------------------------------
[2024-01-15 14:32:15] [DEBUG] Theme colors configured: {'bg_dark': '#1e1e1e', 'accent': '#0d7377'}
[2024-01-15 14:32:16] [DEBUG] Widget dimensions: main_frame=1200x800, left_panel=300x600
[2024-01-15 14:32:18] [DEBUG] Subprocess timeout set to 30 seconds
[2024-01-15 14:32:19] [DEBUG] File list sorted by modification time (descending)
[2024-01-15 14:32:21] [DEBUG] Text widget configured with Fira Code font
[2024-01-15 14:32:23] [DEBUG] Regex pattern compiled successfully: authentication
[2024-01-15 14:32:25] [DEBUG] Current match index updated: 1/5
[2024-01-15 14:32:27] [DEBUG] Current match index updated: 0/5
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
SESSION SUMMARY
--------------------------------------------------------------------------------
| Metric              | Value |
|---------------------|--------|
| Total Searches      | 2      |
| Files Found         | 6      |
| Files Loaded        | 2      |
| Total Matches       | 5      |
| Navigation Actions  | 2      |
| Errors Encountered  | 0      |
| Warnings Generated  | 1      |
| Session Duration    | 00:02:18 |
--------------------------------------------------------------------------------

================================================================================
                           END OF LOG FILE
================================================================================