Artemis 2.9.0 installed but artemis logs are not getting rotated

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Artemis 2.9.0 installed but artemis logs are not getting rotated

dharmendra
hi Team ,
I am using Artemis 2.9.0 release with debian package it requires some
WILDFLY logger configuration and when i checked the logs then artemis logs
were not getting rotated based on day . it creates only one file artemis.log
and keep on appending into i which is gradually increasing into GBs. Please
suggest me how we can get logs rotation.

Thanks
Dharmendra



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

Re: Artemis 2.9.0 installed but artemis logs are not getting rotated

jbertram
Here's an example you can use:

  # File handler configuration
  handler.FILE=org.jboss.logmanager.handlers.PeriodicRotatingFileHandler
  handler.FILE.level=INFO
  handler.FILE.properties=suffix,append,autoFlush,fileName
  handler.FILE.suffix=.yyyy-MM-dd
  handler.FILE.append=true
  handler.FILE.autoFlush=true
  handler.FILE.fileName=${artemis.instance}/log/artemis.log
  handler.FILE.formatter=PATTERN


Justin

On Tue, Feb 11, 2020 at 10:41 PM dharmendra <[hidden email]> wrote:

> hi Team ,
> I am using Artemis 2.9.0 release with debian package it requires some
> WILDFLY logger configuration and when i checked the logs then artemis logs
> were not getting rotated based on day . it creates only one file
> artemis.log
> and keep on appending into i which is gradually increasing into GBs. Please
> suggest me how we can get logs rotation.
>
> Thanks
> Dharmendra
>
>
>
> -----
> DKumar
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>
>