Files
local-deep-research/scripts
LearningCircuit b524bd9a45 fix: debug logging now visible on stderr when LDR_APP_DEBUG=true (#2761)
* fix: debug logging now visible on stderr when LDR_APP_DEBUG=true

config_logger() had stderr hardcoded to INFO level regardless of the
debug flag — only diagnose= was toggled, not the log level itself.
DEBUG entries went to the DB sink but never to the console, making
LDR_APP_DEBUG ineffective for local debugging via log files.

Also adds restart_server_debug.sh for convenient debug-mode startup
with LDR_APP_DEBUG=true and LDR_LOG_SETTINGS=summary.

* fix: log warning when debug mode is active

Emits a WARNING-level message on startup when LDR_APP_DEBUG=true so
it's immediately visible in the logs that sensitive data may be logged.
2026-03-15 17:24:31 +01:00
..