newrelic / csec-java-agent

Open source repo for the new relic Java security agent
Other
7 stars 11 forks source link

Upgrade Log file size and count handling #277

Closed lovesh-ap closed 3 months ago

lovesh-ap commented 5 months ago

the order of precedence and explanation for configuration variables affecting log rotation.

  1. A log_limit_in_kbytes value greater than zero will result in a composite triggering policy, where logs will roll once per day or when the defined size is reached, retaining up to log_file_count files
  2. A log_limit_in_kbytes value of zero will result in logs rolling once per day retaining up to log_file_count files