Discussion:
Log file size
(too old to reply)
Tatsiana
2019-07-17 14:47:16 UTC
Permalink
Hello,
I'm facing a problem with the log file size for some time.
I will very appreciate if you could help me here.

So the issue is ->
I've defined the specific log file for Assembly Line
via Assembly Line > Log settings > Insert > FileRollerAppender

It's obvious and easy to assign the number of files to be rotated,
but I didn't manage to set the MaxFile size.
And recently I've encountered a big problem due to the issue.
Our log file were more than 90Gb of data.

Could you please propose any solution?
Maybe it's possible to set the parameter explicitly?
I suppose there should be somewhere the log4j.properties file for these loggers, but I couldn't have found it.

Thanks in advance.
Jason Williams
2019-07-17 17:18:47 UTC
Permalink
Post by Tatsiana
Hello,
I'm facing a problem with the log file size for some time.
I will very appreciate if you could help me here.
So the issue is ->
I've defined the specific log file for Assembly Line
via Assembly Line > Log settings > Insert > FileRollerAppender
It's obvious and easy to assign the number of files to be rotated,
but I didn't manage to set the MaxFile size.
And recently I've encountered a big problem due to the issue.
Our log file were more than 90Gb of data.
Could you please propose any solution?
Maybe it's possible to set the parameter explicitly?
I suppose there should be somewhere the log4j.properties file for these loggers, but I couldn't have found it.
Thanks in advance.
Have a review of this tech-note. Sounds like it might be an option for you.
https://www-01.ibm.com/support/docview.wss?mhsrc=ibmsearch_a&uid=swg21672326&
Tatsiana
2019-07-18 13:37:22 UTC
Permalink
Post by Tatsiana
Hello,
I'm facing a problem with the log file size for some time.
I will very appreciate if you could help me here.
So the issue is ->
I've defined the specific log file for Assembly Line
via Assembly Line > Log settings > Insert > FileRollerAppender
Hi Jason,
Thanks a lot for your quick reply.
I've tried to implement this solution and it works exactly how I wanted it to be.
Loading...