If you purge the destination (regular or DLQ), or at least the old message, kahabd will automatically remove the old log.
Regards JB On Tue, Dec 20, 2022 at 9:57 AM wendellhatcher1074 <wendellhatcher1...@gmail.com> wrote: > > What is the effect of doing purge on that queue? Sent via the Samsung Galaxy > Note20 Ultra 5G, an AT&T 5G smartphone > -------- Original message --------From: Jean-Baptiste Onofré > <j...@nanthrax.net> Date: 12/20/22 12:55 AM (GMT-05:00) To: > users@activemq.apache.org Subject: Re: activemq purge command effects and > usage? Hi,The log files accumulate because you have at least one old > messagestored, including in DLQ.You can always browse and delete messages in > a destination (includingDLQ again ;)). You can also purge the DLQ, or disable > DLQ (or defineexpiration on DLQ which is not the case by default).RegardsJBOn > 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.