plog run wraps any Python command with automatic framework instrumentation. No code changes required.
Usage
Flags
How it works
- Creates a temporary
sitecustomize.pythat importsprovenlog.auto - Modifies
PYTHONPATHto include the temporary file - Executes your command as a child process
- Python runs
sitecustomizeon startup, patching all detected frameworks - stdin/stdout/stderr are forwarded transparently
- Signals (SIGINT, SIGTERM) are forwarded to the child
- The child’s exit code is preserved