27 lines
621 B
Python
27 lines
621 B
Python
# target_simulator/config.py
|
|
|
|
"""
|
|
Global configuration settings for the Target Simulator application.
|
|
"""
|
|
|
|
# Basic configuration for the logger
|
|
LOGGING_CONFIG = {
|
|
"format": "%(asctime)s [%(levelname)-8s] %(name)-25s : %(message)s",
|
|
"date_format": "%H:%M:%S",
|
|
"default_root_level": "DEBUG",
|
|
"enable_console": True,
|
|
"colors": {
|
|
"DEBUG": "gray",
|
|
"INFO": "black",
|
|
"WARNING": "orange",
|
|
"ERROR": "red",
|
|
"CRITICAL": "red"
|
|
}
|
|
}
|
|
|
|
# --- Debug Configuration ---
|
|
DEBUG_CONFIG = {
|
|
"save_tftp_scripts": True, # Set to False to disable
|
|
"temp_folder_name": "Temp"
|
|
}
|