fix(export): restore console log level after export completes
DE
8h ago+49+49+01234567890123456789-1-1-0123456789
Closes #7850
Summary
export()sets the console to the subprocess log level (WARNING by default) but never restores it- This hides all INFO messages from callers like
reflex deployafter the export step — deployment progress, scaling-conflict retries, and the success line are all silenced - Fix: save the current log level before
export()changes it and restore it in the existingfinallyblock
Changes
reflex/utils/export.py: saveprev_log_levelvia_log.get_log_level()beforeset_log_level(loglevel), restore it in thefinallyblock
Test plan
reflex deployin a non-TTY shell should now show progress and success messages after the export step- The fix is in the existing
finallyblock, so the level is restored even if export fails
🤖 Generated with Claude Code