Log Reference
Understanding Log Levels
In system monitoring and debugging, logs play a crucial role by recording sequential events or errors that occur within a system. The log levels provide a way to categorize these entries by their severity or importance, which can help in quickly identifying or escalating issues. Common log levels include:
- ERROR: Indicates a significant problem that caused a failure in some part of the system.
- WARN: Signals a potential issue that should be watched or could lead to an error if not addressed.
- INFO: Provides informational messages that highlight the progress of the application.
- DEBUG: Offers detailed diagnostic information used for debugging and understanding system behavior.
Compiled Log Entries
| Log ID | Log Title | File | Function | Level of Log | Message | Description |
|---|---|---|---|---|---|---|
| BM1001 | Config File Read | CONTROLLER | config_reader | INFO | Reading config file from path | Indicates start of reading configuration file. |
| BM1002 | Config Options Fetched | CONTROLLER | config_reader | INFO | Options fetched from config file | Logged after successfully fetching configuration options. |
| BM1003 | UUID Retrieved Windows | CONTROLLER | get_system_uuid | INFO | get_system_uuid_win successful | Indicates successful retrieval of UUID on Windows. |
| BM1004 | UUID Retrieved Linux | CONTROLLER | get_system_uuid | INFO | get_system_uuid_linux successful | Indicates successful UUID retrieval on Linux. |
| BM1005 | No Error Received | CONTROLLER | check_and_relaunch_processes | INFO | Received no error | Indicates no error message was received from the feedback queue. |
| BM1006 | Exit Feedback Received | CONTROLLER | check_and_relaunch_processes | INFO | Received feedback from exit_feedback_queue | Logged upon receiving exit feedback from a process. |
| BM1007 | License Validation | CONTROLLER | check_and_relaunch_processes | INFO | Validating license with watchdog | Indicates the start of license validation. |
| BM1008 | License Valid | CONTROLLER | check_and_relaunch_processes | INFO | License is valid; continuing to run controller | Logged when the license is confirmed as valid. |
| BM1009 | License Validity Check | CONTROLLER | validate_license | INFO | License validity | Logs the result of the license validity check. |
| BM1010 | Browser Relaunched | CONTROLLER | relaunch_browser | INFO | Relaunched reader | Indicates that a browser reader has been successfully relaunched. |
| BM1011 | Process Alive | CONTROLLER | relaunch_browser | INFO | process is still alive; no need to relaunch | Logged when a browser process is checked and found still running. |
| BM1012 | Browsermon Start | CONTROLLER | run | INFO | Browsermon Started | version Logs the start of the Browsermon system along with the version. |
| BM1013 | Main Process ID | CONTROLLER | run | INFO | Main process id | Logs the process ID of the main process. |
| BM1014 | System UUID | CONTROLLER | run | INFO | System UUID | Logs the UUID of the system. |
| BM1015 | Options Debug | CONTROLLER | run | DEBUG | Options fetched | Used for debugging; logs the fetched configuration options. |
| BM1016 | License Validation Start | CONTROLLER | run | INFO | Validating License BrowserMon Enterprise | Indicates the beginning of the license validation process. |
| BM1017 | Installed Browsers | CONTROLLER | run | INFO | Installed browsers | Logs the list of installed browsers detected. |
| BM1018 | Timeout Waiting | CONTROLLER | run | INFO | Controller timed out waiting on exit_feedback_queue; checking child processes | Logged when the controller times out waiting for feedback and checks on child processes. |
| BM1019 | Controller Exit | CONTROLLER | run | INFO | Exiting controller | Logged when the controller is exiting. |
| BM2002 | Config Initialization Exception | CONTROLLER | config_reader | WARN | Exception caught during initialization | Logged when there's an issue initializing the config. |
| BM2003 | Config Value Empty | CONTROLLER | config_reader | WARN | Value for option is empty | Warns that a configuration value is missing. |
| BM2004 | Config Value Invalid | CONTROLLER | config_reader | WARN | Value for option is invalid | Indicates a configuration value is invalid according to some criteria. |
| BM2005 | Log Mode Invalid | CONTROLLER | config_reader | WARN | Value for log mode option is invalid | Indicates an invalid logging mode specified in the configuration. |
| BM2006 | Config Option Error | CONTROLLER | config_reader | WARN | Exception caught for option | General WARN for any configuration option error. |
| BM3001 | Watchdog IP Error | CONTROLLER | config_reader | ERROR | Please set the Watchdog IP and Port then retry | Critical error indicating missing watchdog IP or port. |
| BM3002 | Watchdog Settings Missing | CONTROLLER | config_reader | ERROR | Watchdog IP or Port not set | Error logged when watchdog settings are not configured. |
| BM3003 | UUID Retrieval Failure Windows | CONTROLLER | get_system_uuid | ERROR | get_system_uuid_win failed; could not retrieve UUID | Logs failure to retrieve UUID on Windows. |
| BM3004 | UUID Retrieval Failure Linux | CONTROLLER | get_system_uuid | ERROR | get_system_uuid_linux failed; could not retrieve UUID | Logs failure to retrieve UUID on Linux. |
| BM3005 | Max Relaunch Attempts | CONTROLLER | check_and_relaunch_processes | ERROR | Maximum relaunch attempts reached; exiting controller | Logged when the max number of relaunch attempts is reached. |
| BM3006 | Invalid License | CONTROLLER | check_and_relaunch_processes | ERROR | License is invalid; stopping all readers and terminating service | Logged when the license validation fails. |
| BM3010 | Browser Reader Exited | CONTROLLER | relaunch_browser | ERROR | reader has exited | Logs when a browser reader process has exited unexpectedly. |
| BM3011 | License Invalid Exit | CONTROLLER | run | ERROR | Exiting BrowserMon Enterprise; License invalid | Logged when exiting due to an invalid license. |
| BM3012 | Launcher Failure | CONTROLLER | run | ERROR | Launcher failed to start Readers; exiting controller | Logged when the launcher fails to start and causes the controller to exit. |
| BM1001 | Chrome Reader Start | chrome_reader | main | INFO | Starting Chrome Reader | Indicates the start of the Chrome Reader process. |
| BM1002 | Running with mentioned OS | chrome_reader | main | INFO | Running with root privilege | Indicates which OS is being used |
| BM2001 | Parameters Validated | chrome_reader | main | INFO | Validated parameters Successfully | Indicates successful validation of the parameters for running the Chrome Reader. |
| BM2002 | Unsupported OS | chrome_reader | main | ERROR | Unsupported operating system. | Logs an error when the operating system is not supported. |
| BM3001 | Log Directory Found | chrome_reader | main | INFO | Found logdir {logdir} for writing history files | Logs when the directory for writing history files is found. |
| BM3002 | Log Directory Creation | chrome_reader | main | ERROR | Logdir {logdir} not found | creating new Logs when the specified directory for history files is not found and is being created. |
| BM4001 | Sniffing Profiles | chrome_reader | get_profile_folders | INFO | Sniffing user profiles from {system} | Logs the initiation of user profile retrieval for the system (Windows/Linux). |
| BM4002 | Profile Info Acquired | chrome_reader | get_profile_info | DEBUG | Account ID: {Account_id} | Full Name: {full_name} Email ID: {email_id} acquired for {database_path} Logs the acquisition of profile details from the Chrome Preferences file. |
| BM4003 | No User Profiles Found | chrome_reader | get_Chrome_profile_folders | INFO | No user profiles found in {get_os_username} | exiting Logs when no user profiles are found and the operation is exiting. |
| BM4004 | Connexted to db | chrome_reader | monitor_history_db | INFO | Successfully connected to the SQLite database in read-only mode | Connected to the SQLite db |
| BM4005 | Folder Count | chrome_reader | get_Chrome_profile_folders | DEBUG | Found {folder_count} folders in folder path {folder_path} | Logs the count of folders found in the specified directory path. |
| BM4006 | Addition of Profile folder | chrome_reader | get_profile_folders | INFO | Added profile folder: {folder_name} | Logs the addition of profile folders |
| BM4007 | Reading History | chrome_reader | monitor_history_db | INFO | Reading history data from {db_path} | Logs that the db path and that its reading history from it |
| BM4008 | Folder Path Missing | chrome_reader | get_Chrome_profile_folders | WARN | Folder path {folder_path} does not exist | Logs when the expected folder path for Chrome profiles does not exist. |
| BM5001 | Write History Data | chrome_reader | write_history_data_to_json | INFO | Writing logs to {write_file} in {write_format} | Logs the action of writing browsing history data to a specified file in a specified format. |
| BM5002 | Total Entries Processed | chrome_reader | write_history_data_to_json | INFO | Total {entries_count} for Profile {db_path}: are Processed | Logs the total number of entries processed for a profile. |
| BM5003 | Graceful Exit | chrome_reader | handle_signal | INFO | Gracefully Exiting Writing function after reading all profiles | Logs the graceful exit of the writing function after processing all profiles. |
| BM5004 | JSON and CSV Data Written | chrome_reader | write_history_data_to_json | INFO | Entry data written to {write_file} in JSON format | Logs successful writing of entry data to JSONand CSV file. |
| BM6001 | Scheduled Job | chrome_reader | main | INFO | Scheduled job added with interval: {schedule_interval} seconds | Logs when a scheduled job is added with a specific interval. |
| BM7001 | Chrome Reader Exit | chrome_reader | main | INFO | Exiting Chrome Reader; shutting down scheduler | Logs when the Chrome Reader is exiting and the scheduler is being shut down. |
| BM7002 | Lock Release | chrome_reader | main | INFO | releasing shared_lock in chrome | Logs the release of a shared lock. |
| BM7003 | No Error Exit Feedback | chrome_reader | main | INFO | Sending no error in exit feedback queue; so that controller doesn't relaunch | Logs that no error is being sent to the exit feedback queue to prevent controller relaunch. |
| BM7004 | System Exit Call | chrome_reader | main | INFO | Sending sys.exit(0) | Logs the call to system exit with a status of 0. |
| BM8001 | Lock Acquiring | chrome_reader | main | INFO | accquiring lock ... | Logs the action of acquiring a lock for processing. |
| BM8002 | Lock Acquired | chrome_reader | main | INFO | accquired lock | Logs successful lock acquisition. |
| BM8003 | Chrome Exited | chrome_reader | main | INFO | Chrome exited | Logs the exit of the Chrome processing due to an interrupt or system exit. |
| BM9001 | Error Exception Found | chrome_reader | monitor_history_db | ERROR | ERROR Exception Found while processing {db_path}: {e} | Logs an error encountered while processing the database for history data. |
| BM9003 | Exception for Chrome Version | chrome_reader | get_chrome_version | ERROR | ERROR Exception Found While Finding Chrome Version , e | Logs an error encountered while finding version for chrome |
| BM9004 | Invalid Window Schedule Format | chrome_reader | parse_schedule_window | WARN | Invalid schedule window format. Please use the valid format (e.g., 1m, 1h, 1d) | Logs a warning to use the correct format |
| BM9001 | Profile Retrieval Error | chrome_reader | get_profile_folders | ERROR | Error retrieving Windows profile folders: {str(e)} | Logs an error encountered while accessing the Windows registry to retrieve user profiles. |
| BM9001 | JSON Writing Error | chrome_reader | write_history_data_to_json | WARN | ERROR Exception Found while writing browsermon_chrome.log:{e} | Logs errors that occur while writing to the log file. |
| BM9004 | Issue in inpur parameters | chrome_reader | main | ERROR | Issue found while processing input parameters, exiting | Indicates an error with input parameters and exits. |
| BM1001 | Edge Reader Start | edge_reader | main | INFO | Reader started successfully in {mode} mode | Logs the successful start of the Edge Reader in a specific mode. |
| BM1003 | Encryption Key | edge_reader | main | DEBUG | Encryption key: {encryption_key} | Logs the encryption key used for securing data. |
| BM1004 | Scheduler Start | edge_reader | main | DEBUG | Scheduler started: {scheduler} | Logs the start of the scheduler. |
| BM3001 | Log Directory Found | edge_reader | main | INFO | Found logdir {logdir} for writing history files | Logs when the directory for writing history files is found. |
| BM3002 | Log Directory Creation | edge_reader | main | WARN | Logdir {logdir} not found | creating new |
| BM4001 | Sniffing Users | edge_reader | get_all_profiles | INFO | Sniffing users from {platform.node()} | Logs the initiation of user profile retrieval across the operating system. |
| BM4002 | Profile Gathering Init | edge_reader | get_all_profiles | DEBUG | Starting to gather all profiles on {platform.node()} | Logs the initiation of gathering all user profiles on the system. |
| BM4002 | Profile Info Found | edge_reader | get_profile_info | INFO | Profile info found - Account ID: {Account_id}, Email ID: {email_id}, Full Name: {full_name} | Logs the account ID, Email ID and Full Name |
| BM4003 | Profile Directory Found | edge_reader | get_all_profiles | INFO | Microsoft Edge profile directory found for user: {username} | Logs when a Microsoft Edge profile directory is found for a user. |
| BM4003 | No Profile Directory | edge_reader | get_all_profiles | WARN | No Microsoft Edge profile directory for user: {username} | Logs when no Microsoft Edge profile directory is found for a user. |
| BM4004 | Get Profiles Entry | edge_reader | get_profiles | DEBUG | Entering get_profiles with user_profile_dir: {user_profile_dir} | Logs the entry into the get_profiles function with parameters. |
| BM4005 | Profiles Retrieved | edge_reader | get_profiles | DEBUG | Profiles retrieved successfully for user: {username} | Logs the successful retrieval of user profiles. |
| BM4006 | Missing Info Cache | edge_reader | get_profiles | WARN | info_cache not found in profile data for user: {username} | Logs when the info_cache is not found in the profile data. |
| BM4007 | Missing Profile Info | edge_reader | get_profiles | WARN | Profile information not found in data for user: {username} | Logs when profile information is missing in the data. |
| BM4008 | Get Profiles Exit | edge_reader | get_profiles | DEBUG | Exiting get_profiles with profiles: {profiles} | Logs the exit from the get_profiles function with results. |
| BM5000 | Edge History Processing Start | edge_reader | process_edge_history | DEBUG | Starting to process Edge browsing history | Logs the start of processing the Edge browsing history. |
| BM5001 | Browsing History Processing | edge_reader | write_history_data | INFO | Processing browsing history for user: {username} | Logs the initiation of browsing history processing for a user. |
| BM5002 | New Records Found | edge_reader | write_history_data | DEBUG | Found {num_new_records} new records for profile '{profile_name}' | Logs the number of new browsing history records found for a profile. |
| BM5003 | Browsing History Processed | edge_reader | write_history_data | INFO | Processed browsing history for profile '{profile_name}' | Logs the completion of browsing history processing for a profile. |
| BM5004 | CPU Core Count | edge_reader | process_edge_history | INFO | Number of CPU cores: {num_cpu_cores} | Logs the number of CPU cores available for processing. |
| BM5005 | Connected to SQLlite | edge_reader | write_history_data | INFO | Connected to the SQLite database for profile '{profile_name} | Logs that the program is now connected to SQL db |
| BM6001 | Scheduled Job Added | edge_reader | main | INFO | Scheduled job added with interval: {schedule_interval} seconds | Logs when a scheduled job is added with a specific interval. |
| BM6002 | Real-Time Job Added | edge_reader | main | INFO | Real-time job added with interval: 10 seconds | Logs when a real-time job is added with a 10-second interval. |
| BM6003 | Scheduler Started | edge_reader | main | INFO | Scheduler started | Logs when the scheduler has started. |
| BM7001 | Edge Reader Exit | edge_reader | main | INFO | Exiting Edge Reader; shutting down scheduler | Logs when the Edge Reader is exiting and the scheduler is being shut down. |
| BM7002 | Lock Release | edge_reader | main | INFO | Releasing lock | Logs the release of a shared lock. |
| BM7003 | No Error Exit Feedback | edge_reader | main | INFO | Sending no error in exit feedback queue; so that controller doesn't relaunch | Logs that no error is being sent to the exit feedback queue to prevent controller relaunch. |
| BM7004 | System Exit Call | edge_reader | main | INFO | Sending sys.exit(0) | Logs the call to system exit with a status of 0. |
| BM8001 | Lock Acquiring | edge_reader | main | INFO | accquiring lock ... | Logs the action of acquiring a lock for processing. |
| BM8002 | Lock Acquired | edge_reader | main | INFO | accquired lock | Logs successful lock acquisition. |
| BM8003 | Edge Exited | edge_reader | main | INFO | edge exited | Logs the exit of the Edge processing due to an interrupt or system exit. |
| BM9001 | Shutdown for Non-Root | edge_reader | main | ERROR | Shutting Down! Only root can run this script | Logs an error when the script is run by a non-root user and needs to shut down. |
| BM9002 | Registry Access Error | edge_reader | get_all_profiles | ERROR | Failed to retrieve profiles from Windows registry: {e} | Logs an error encountered while accessing the Windows registry to retrieve user profiles. |
| BM1001 | Starting FireFox Reader | firefox_reader | main | INFO | Starting FireFox Reader | Indicates the start of the Firefox Reader process. |
| BM2001 | Parameters Validated | firefox_reader | main | INFO | Validated parameters Successfully | Indicates successful validation of the parameters. |
| BM3001 | Found Logdir | firefox_reader | main | INFO | Found logdir {json_file} for writing history files | Indicates that the directory for writing history files has been found. |
| BM3002 | Logdir Not Found | firefox_reader | main | ERROR | Logdir {json_file} not found | creating new Logs when the specified directory for history files is not found and needs to be created. |
| BM4001 | System Info | firefox_reader | get_profile_folders | INFO | Running on system: {system} | Logs the operating system the script is running on. |
| BM4001 | Windows Profiles | firefox_reader | get_profile_folders | INFO | Sniffing user profiles from Windows | Logs the action of retrieving user profiles on Windows systems. |
| BM4001 | Linux Profiles | firefox_reader | get_profile_folders | INFO | Sniffing user profiles from Linux | Logs the action of retrieving user profiles on Linux systems. |
| BM4001 | Profile Info | firefox_reader | get_profile_info | INFO | Sniffing user profiles from {database_path} | Logs the start of extracting user profile info from the specified database path. |
| BM4001 | FireFox Profiles | firefox_reader | get_firefox_profile_folders | INFO | Sniffing FireFox profiles | Logs the action of retrieving Firefox profiles. |
| BM4002 | Profile Added | firefox_reader | get_profile_folders | DEBUG | Added profile for {username} | Logs each user profile added to the list. |
| BM4002 | Profile Found | firefox_reader | get_firefox_profile_folders | INFO | Profile found for {get_os_username} at {profile_info['Profile Link']} | Logs the successful finding of a Firefox profile for a user. |
| BM4003 | No Email | firefox_reader | get_profile_info | WARN | No email ID found in prefs file at: {prefs_file_path} | Logs when no email ID is found in the prefs.js file. |
| BM4003 | No Profiles Found | firefox_reader | get_firefox_profile_folders | INFO | No user profiles found in {get_os_username} | skipping Logs when no Firefox profiles are found for a user and skips further action. |
| BM4004 | Connected to db | firefox_reader | monitor_history_db | INFO | Successfully connected to the SQLite database in read-only mode | Indicated that it has successfully connected to the SQLite database |
| BM5001 | Write History Data | firefox_reader | write_history_data_to_json | INFO | Writing logs to {write_file} in {write_format} | Logs the action of writing history data to a specified file in a specified format. |
| BM5002 | Entry Processed | firefox_reader | write_history_data_to_json | INFO | Total {entries_count} for Profile {db_path}: are Processed | Logs the total number of entries processed for a profile. |
| BM5003 | Graceful Exit | firefox_reader | handle_signal | INFO | Gracefully Exiting Writing function after reading all profiles | Logs the graceful exit of the writing function after processing all profiles. |
| BM5004 | JSON Write Success | firefox_reader | write_history_data_to_json | INFO | Entry data written to {write_file} in JSON format | Logs successful writing of entry data to JSON file. |
| BM5004 | CSV Write Success | firefox_reader | write_history_data_to_json | INFO | Entry data written to {write_file} in CSV format | Logs successful writing of entry data to CSV file. |
| BM7001 | Reader Shutdown | firefox_reader | main | INFO | Exiting FireFox Reader; shutting down scheduler | Logs the shutdown of the Firefox Reader and its scheduler. |
| BM7002 | Lock Release | firefox_reader | main | INFO | releasing shared_lock in firefox | Logs the release of a shared lock in Firefox. |
| BM7004 | Sys Exit | firefox_reader | main | INFO | Sending sys.exit(0) | Logs the system exit call with a successful exit code. |
| BM8001 | Lock Acquiring | firefox_reader | main | INFO | FireFox acquiring lock ... | Logs the action of acquiring a lock for processing. |
| BM8002 | Lock Acquired | firefox_reader | main | INFO | acquired lock | Logs successful lock acquisition. |
| BM8003 | FireFox Exit | firefox_reader | main | INFO | FireFox exited | Logs the exit of Firefox due to an interrupt or system exit. |
| BM9001 | Windows Profile Error | firefox_reader | get_profile_folders | ERROR | Error retrieving Windows profile folders: {str(e)} | Logs errors that occur while retrieving user profiles on Windows. |
| BM9001 | Firefox Version Error | firefox_reader | FixedData | ERROR | Failed to retrieve Firefox version from the registry | Logs failure to retrieve Firefox version from the Windows registry. |
| BM9001 | Prefs Error | firefox_reader | FixedData | ERROR | Failed to retrieve Firefox version from the prefs.js file | Logs failure to retrieve Firefox version from the prefs.js file on Linux. |
| BM9001 | Profile Info Error | firefox_reader | get_profile_info | ERROR | Failed to retrieve profile information from {database_path} | Logs error when failing to extract profile information. |
| BM9001 | File Write Error | firefox_reader | get_firefox_profile_folders | ERROR | File Not found to Write profile links | exiting Logs error when a file for writing profile links is not found. |
| BM9001 | Path Error | firefox_reader | server | ERROR | Invalid Path: | Logs an error related to an invalid file path. |
| BM9001 | File Not Found | firefox_reader | server | ERROR | Can't find Firefox Profile Data file: | Logs an error when the Firefox profile data file cannot be found. |
| BM9001 | No Database Found | firefox_reader | monitor_history_db | ERROR | ERROR Database to get history logs not found for {db_path} | Logs an error when the database file for history logs is not found. |
| BM9001 | File Not Found for Reading | firefox_reader | monitor_history_db | ERROR | File not found to read Profile Links | Logs an error when the file for reading profile links is not found. |
| BM9001 | File Writing Error | firefox_reader | write_history_data_to_json | ERROR | ERROR Exception Found while writing browsermon_firefox.log:{e} | Logs errors that occur while writing to the log file. |
| BM9001 | Processing Error | firefox_reader | monitor_history_db | ERROR | ERROR Exception Found while processing {db_path}: {e} | Logs errors encountered during the processing of the database. |
| BM9001 | Permission Error | firefox_reader | monitor_history_db | ERROR | Firefox-READER: WARN Permission error while reading the {db_path}: {pe} | Logs a permission error encountered while reading the database. |
| BM9001 | Unsupported OS | firefox_reader | log_os_info | ERROR | Unsupported operating system. | Logs an error when the operating system is not supported. |
| BM9001 | Exiting Unsupported OS | firefox_reader | log_os_info | INFO | Exiting the program Due to Unsupported OS. | Indicates the program is exiting because the operating system is unsupported. |
| BM9001 | No New Data Found | firefox_reader | server | INFO | No New data Found while monitoring Profile {db_path}: | Logs when no new data is found during the monitoring of a profile. |
| BM9001 | Exception Caught | firefox_reader | main | WARN | Came here Exception e | Logs a general exception caught during execution. |
| BM1001 | Launcher Initialization | launcher.py | init | INFO | Launcher initialized with installed browsers. | Logs the initialization of the Launcher with the list of installed browsers. |
| BM3001 | Launching Reader | launcher.py | _launch_reader_process | INFO | Launching {browser.upper()} reader | Logs the beginning of the process to launch a reader for a specified browser. |
| BM3002 | Reader Launched | launcher.py | _launch_reader_process | INFO | Launched {browser.upper()} reader with PID: {process.pid} | Logs successful launch of the reader process for a specified browser, including the process ID. |
| BM3003 | Lock Acquisition | launcher.py | launch_reader | INFO | Acquiring lock for launch operation | Logs the acquisition of a lock prior to launching a browser reader, ensuring thread safety. |
| BM3004 | Stopping Readers | launcher.py | stop | INFO | Stopping all readers and releasing lock... | Logs the stopping of all browser reader processes and the release of the shared lock. |
| BM4001 | Unsupported Browser | launcher.py | launch_reader | WARNING | Unsupported browser: {browser} | Logs a warning if a launch attempt is made for a browser that is not supported or not configured properly. |
| BM4002 | Browser Not Installed | launcher.py | start | WARNING | Requested browser {browser} is not installed on the system. | Logs a warning when an attempt is made to launch a browser that is not installed on the system. |
| BM4003 | No Browsers to Launch | launcher.py | start | ERROR | No browsers to launch. Ensure the desired browsers are installed and try again. | Logs an error when there are no valid browsers to launch due to either configuration issues or installation status. |
| BM4004 | Launch Error | launcher.py | start | ERROR | An error occurred while launching browsers: {e} | Logs an error with details if an exception occurs during the browser launching process. |
| BM1001 | Handler Initialization | handlers.py | init | INFO | Handler class initialized. | Logs the initialization of the Handler class with settings for log rotation and file management. |
| BM1002 | File Paths Defined | handlers.py | define_file_paths | INFO | Defined file paths for logging. | Logs the completion of defining the file paths where logs will be written, depending on the system platform. |
| BM2001 | No Rotation Performed | handlers.py | enter | INFO | Backup count is set to 0, so no rotation will be performed | Logs that no file rotation will occur because the backup count is set to zero. |
| BM2002 | Handler Invoked | handlers.py | enter | INFO | Handler class invoked | Logs the invocation of the Handler class, indicating that log file management operations are about to start. |
| BM2003 | Scheduled Jobs Running | handlers.py | enter | INFO | Running the scheduled jobs: rollover (function) for duration: {self.rotation} | Logs the setup of scheduled jobs for file rotation based on a specified interval. |
| BM2004 | File Path Rotation | handlers.py | enter | INFO | File path to rotate {file_paths[browser]} | Logs which file path is set up for rotation in the background job scheduler. |
| BM3001 | Scheduler Info | handlers.py | get_scheduler_info | INFO | Scheduler information: | Logs general information about the current state of the job scheduler. |
| BM3002 | Job Details | handlers.py | get_scheduler_info | INFO | Job ID: {job.id}, Next Run Time: {next_run_time} | Logs detailed information for each job in the scheduler, including IDs and next run times. |
| BM3003 | Rotation Setup | handlers.py | schedule_background_job | INFO | Rotation is set for {self.rotation} | Logs the setup of the file rotation with the specified interval in seconds. |
| BM3004 | Background Job Scheduled | handlers.py | schedule_background_job | INFO | Background job scheduled for file rotation. | Logs that a background job has been successfully scheduled to handle file rotation. |
| BM2005 | Handler Cleanup | handlers.py | exit | INFO | Cleanup of Handler class | Logs the beginning of cleanup operations for the Handler class, typically called when the context manager exits. |
| BM2006 | Jobs Removed | handlers.py | exit | INFO | Removed all jobs | Logs the removal of all scheduled jobs from the scheduler as part of cleanup. |