Hi Guys, Can someone share any kind of example related to defining policy for server.log deletion in log4j for Kafka Regards, GP
On Sat, 22 Jul, 2023, 15:16 Gaurav Pande, <gaupand...@gmail.com> wrote: > Thanks Sunil, could you guide me through any example config for this in > Kafka , any documentation or link that can serve as reference? > Regards, > GP > > On Sat, 22 Jul, 2023, 14:04 sunil chaudhari, <sunilmchaudhar...@gmail.com> > wrote: > >> Hi Gaurav, >> you can make use of log4j.properties for managing log files. >> Define housekeeping policy and get rid of too many files. >> >> >> On Sat, 22 Jul 2023 at 10:58 AM, Gaurav Pande <gaupand...@gmail.com> >> wrote: >> >> > Hi All, >> > >> > I am running Apache kafka 2.7.0 and I see that presently there are many >> > server.logv files but how is the deletion of these file governed or can >> be >> > governed? Instead of manually deleting them. >> > >> > Is there some config that I can set to delete them regularly. >> > >> > Thanks, >> > GP >> > >> >