flush
Flush (truncate) process log files.
Usage
runix flush [app] [flags]
Description
Truncates stdout.log and stderr.log for a specific app or all apps. Does not interrupt running processes — it simply empties the log files.
Examples
# Flush logs for a specific app
runix flush api
# [Runix] Logs flushed for "api"
# Flush logs for all apps
runix flush
# [Runix] Logs flushed for 5 app(s)
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--format | -f | text | Output format: text, json |
Log Files Affected
~/.runix/apps/<name>/stdout.log → truncated
~/.runix/apps/<name>/stderr.log → truncated