Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Oct 28, 2024
1 parent 02e558a commit d5f7479
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/loggers/logger_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ logfile:
## Postrotate command

The `postrotate-command` option allows you to specify a **script** to execute after each file rotation. During the post-rotate process, files are temporarily renamed with a `toprocess-` prefix, for example, `toprocess-dnstap-1730099215373568947.log`. The script receives three arguments:
- The full path to the log file
- The directory path containing the log file
- The filename without the toprocess- prefix
- Arg. 1: The full path to the log file
- Arg. 2: The directory path containing the log file
- Arg. 3: The filename without the toprocess- prefix

**Example Configuration**

Expand Down

0 comments on commit d5f7479

Please sign in to comment.