Aw: Re: Logrotation throu CATALINA_OUT_CMD in Tomcat9

2024-05-15 Thread Peter Rader
> You need to do what the instructions state: create a FIFO and specify its > name in the CATALINA_OUT variable. For example, do Ah, yes, mkfifo catalina.out fixed it for me. I had no idea what a fifo is, now I knew. Kind regards

Re: Logrotation throu CATALINA_OUT_CMD in Tomcat9

2024-05-15 Thread Chuck Caldarale
> On May 15, 2024, at 12:43, Peter Rader wrote: > > my catalina.out is getting bigger and bigger. (I should Insert a philosophical discussion on not using stdout for application logging here, but I’ll leave that for some other time.) > In order to have smaller catalina.out I noticed this

Logrotation throu CATALINA_OUT_CMD in Tomcat9

2024-05-15 Thread Peter Rader
Hi, my catalina.out is getting bigger and bigger. In order to have smaller catalina.out I noticed this environment-variable: CATALINA_OUT_CMD Inside the catalina.sh is documented: # CATALINA_OUT_CMD (Optional) Command which will be executed and receive # as its stdin the