- Updated config.example.json to set default log_file to null. - Modified config.py to resolve log file paths relative to the AppData directory. - Added methods to get default log directory and log file path in AppData. - Ensured logging behavior is consistent whether a log_file is specified or not.
22 lines
498 B
JSON
22 lines
498 B
JSON
{
|
|
"app_name": "WebDrop Bridge",
|
|
"webapp_url": "https://dev.agravity.io/",
|
|
"url_mappings": [
|
|
{
|
|
"url_prefix": "https://devagravitystg.file.core.windows.net/devagravitysync/",
|
|
"local_path": "Z:"
|
|
}
|
|
],
|
|
"allowed_roots": [
|
|
"Z:\\"
|
|
],
|
|
"allowed_urls": [],
|
|
"check_file_exists": true,
|
|
"auto_check_updates": true,
|
|
"update_check_interval_hours": 24,
|
|
"log_level": "INFO",
|
|
"log_file": null,
|
|
"window_width": 1024,
|
|
"window_height": 768,
|
|
"enable_logging": true
|
|
}
|