[ 
https://issues.apache.org/jira/browse/CASSANDRA-17241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470173#comment-17470173
 ] 

Romain Hardouin edited comment on CASSANDRA-17241 at 1/6/22, 8:20 PM:
----------------------------------------------------------------------

I've pushed a PR with information and system.log examples to help users when 
Googling warnings like:
 * Failed to shrink file as it exists no longer
 * Overriding roll cycle from xxx to yyy

Some Chronicle Queue 5.20.123 links:
 * SingleChronicleQueueBuilder 
[overrideRollCycle()|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueBuilder.java#L477]
 log
 * Inference when [metadata is 
deleted|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueBuilder.java#L446-L447]
 * JVM properties 
[chronicle.queue.synchronousFileShrinking|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/impl/single/QueueFileShrinkManager.java#L36-L37]
 * Roll cycles 
[values|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/RollCycles.java#L30]


was (Author: rha):
I've pushed a PR with information and system.log examples to help users when 
Googling warnings like:
* Failed to shrink file as it exists no longer
* Overriding roll cycle from xxx to yyy

Some Chronicle Queue links:
* SingleChronicleQueueBuilder 
[overrideRollCycle()|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueBuilder.java#L477]
 log
* Inference when  [metadata is 
deleted|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueBuilder.java#L446-L447]
*  JVM properties 
[chronicle.queue.synchronousFileShrinking|https://github.com/OpenHFT/Chronicle-Queue/blob/chronicle-queue-5.20.123/src/main/java/net/openhft/chronicle/queue/impl/single/QueueFileShrinkManager.java#L36-L37]

> Improve audit logging documentation for production
> --------------------------------------------------
>
>                 Key: CASSANDRA-17241
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17241
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Documentation/Website
>            Reporter: Romain Hardouin
>            Assignee: Romain Hardouin
>            Priority: Normal
>             Fix For: 4.0.x
>
>
> After using audit logging in production, it turns out that documentation is 
> lacking some important information.
> Namely:
>  * {{roll_cycle}} can be overriden by Chronicle Queue
>  * {{max_log_size}} is ignored if {{archive_command}} option is set
>  * {{archive_command}} prevents Chronicle Queue Shrink Manager from working



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to