Are you using Log4j? Log4j has
https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html

On Tue, Nov 23, 2021 at 11:15 AM Ligade, Shailesh [USA] <
ligade_shail...@bah.com> wrote:

> Hello,
>
> Currently logs (all tserver, master) are getting huge and sometimes fills
> up entire disk. They only get rotated when i restart service. I saw that
> code in start-daemon.sh script
>
> Is there a way to use rollingfileappender? I tried to rotate using
> logrotate but it is still logging into old log file (now master_xxx.out.1
> file)
>
> I saw some examples under templates folder but there is no information on
> which java classes can go to a log file. e.g. package x,y,z can go to
> master_xxx out file and package kzb can go to monitor..
>
> Thanks
>
> -S
>

Reply via email to