Wrapper.log file rotation on ActiveMQ Brokers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Wrapper.log file rotation on ActiveMQ Brokers

Vidu
We want to rotate the log file wrapper.log whenever the file size exceeds the
threshold.
As a test,
I updated wrapper.logfile.maxsize=410k in
/data01/activemq/bin/linux-x86-64/wrapper.conf file in section titled
Wrapper Logging Properties and restarted /etc/init.d/activemq service.

But, log file didn't rotate when the file size exceeded the threshold value.
log file location: /data01/activemq/data

Can you please suggest on this.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Wrapper.log file rotation on ActiveMQ Brokers

Tim Bain
Per https://wrapper.tanukisoftware.com/doc/english/prop-logfile-maxsize.html,
that setting has no effect unless you also set the wrapper.logfile.rollmode
property appropriately. Did you do that?

Tim

On Fri, Nov 3, 2017 at 2:36 AM, Vidu <
[hidden email]> wrote:

> We want to rotate the log file wrapper.log whenever the file size exceeds
> the
> threshold.
> As a test,
> I updated wrapper.logfile.maxsize=410k in
> /data01/activemq/bin/linux-x86-64/wrapper.conf file in section titled
> Wrapper Logging Properties and restarted /etc/init.d/activemq service.
>
> But, log file didn't rotate when the file size exceeded the threshold
> value.
> log file location: /data01/activemq/data
>
> Can you please suggest on this.
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>
Reply | Threaded
Open this post in threaded view
|

Re: Wrapper.log file rotation on ActiveMQ Brokers

Vidu
Hi Tim,

Thanks a lot. I added wrapper.logfile.rollmode property in the file and it
worked. :)



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Wrapper.log file rotation on ActiveMQ Brokers

Vidu
In reply to this post by Tim Bain
Hi Tim,

Thanks a lot. I added wrapper.logfile.rollmode property in the file and it
worked. :)



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html