Skip to content
Discussion options

You must be logged in to vote

Here’s how log rotation currently works in dnscrypt-proxy:

  • A rotated log is rolled over when it is opened and already at or above the configured size limit, or when a new write would make it exceed that limit. So rotation is effectively size-triggered, not tied to a fixed time of day.
  • The log_files_max_size, log_files_max_age, and log_files_max_backups settings apply to the query/plugin log files, such as query_log, nx_log, and the allow/block name/IP logs.
  • These settings do not apply to the main application log_file. The application log uses a separate logging path and is not automatically rotated by dnscrypt-proxy.
  • There is no separate built-in configuration to use one rotation policy …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cyb3rz3us
Comment options

Answer selected by cyb3rz3us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants