Hi, The log files accumulate because you have at least one old message stored, including in DLQ. You can always browse and delete messages in a destination (including DLQ again ;)). You can also purge the DLQ, or disable DLQ (or define expiration on DLQ which is not the case by default).
Regards JB On Mon, Dec 19, 2022 at 3:23 PM Wendell Hatcher <wendellhatcher1...@gmail.com> wrote: > > Quick question can we delete some of the messages from kahadb to free up > space if there are old messages stuck and the store is high? I thought you > couldn't delete anything from the kahadb store logs folder as it will > corrupt the database. > 7:26 <https://the-asf.slack.com/archives/CFL910J30/p1671409586955999> > By using the purge command what are the effects? > 7:26 <https://the-asf.slack.com/archives/CFL910J30/p1671409589056469> > Second question: > Can you delete logs from the activemq kahadb? > > From my research I see that yes it is possible to delete logs from the > KahaDB store used by Apache ActiveMQ. KahaDB is a persistence adapter that > is used to store message data in a database on disk. It is the default > persistence adapter in ActiveMQ and provides high performance and > reliability. > To delete logs from the KahaDB store, you can use the "purge" command in > the ActiveMQ Web Console. This command will remove all messages from the > store that are considered to be "expired", according to the expiration > settings configured for the destination.