Question

2
Replies
35
Views
Close popover
Stephen Stone (StephenS9927)
Anthem Inc

Anthem Inc
US
StephenS9927 Member since 2019 7 posts
Anthem Inc
Posted: December 2, 2020
Last activity: December 8, 2020
Solved

Robotics Runtime log4net maximum size

Hi,

My company is currently running an RPA solution with 23 robotic processes on 15 different machines with configured robots handling a few thousand cases per day.  Originally we were running with the basic RuntimeLog logging file but these were growing to several GBs in size. This is too large for even notepad to open without manually resetting the robot each day and forcing the creation of a new log file.

I would like to switch to the Log4Net logging files and roll the log on a daily basis.  Currently I'm only able to find how to set the maximum file size for the rolling functionality to kick in.  The only formatting for "maximumFileSize value" I can find in the community is MB and it's always set to 10. 

I tried using 999MB as my maximumFileSize but it appears the built-in cap is actually 10 since all of my files are rolling after hitting 10MB. 

This doesn't really work for us because it's creating a new file every 15-20 minutes.  I've already turned off most of the items being logged and leaving only what I need.

The issue is we're processing so many cases that the files get very big.

Does anybody have an example of how they have used days instead of file size to roll the Log4Net files?  I am not able to locate any examples for this.

Thank you,

Steve

Pega Robotic Process Automation 8.0 Robotic Process Automation Healthcare and Life Sciences Robotics System Architect