Housekeeping for Logs on akaBot Studio/Agent

Created by akaBot Support, Modified on Thu, 25 Jul, 2024 at 2:07 PM by akaBot Support

Question: Is there any way to do housekeeping for the logs on Studio/Agent?

Answer:

While there is no direct housekeeping feature for logs, you can manage how log files are generated by modifying certain configurations. Here's how you can do it:

  1. Change Log File Settings:
    • You can configure the number of log files and the size of each log file by modifying the following parameters:
      • <maxSizeRollBackups value="" /> - This specifies the number of log files.
      • <maximumFileSize value="" /> - This specifies the maximum size of each log file.
  2. Instructions for Configuration:
    For Studio:
    • Navigate to C:\Program Files\FPT Software\akaBot Platform.
    • Open RCAStudio.exe.config in Notepad.
    • Locate the logging configuration section and adjust the values for maxSizeRollBackups and maximumFileSize as needed.
  3. For Agent:
    • Navigate to C:\Program Files\FPT Software\akaBot Platform.
    • Open log4net.config in Notepad.
    • Locate the logging configuration section and adjust the values for maxSizeRollBackups and maximumFileSize as needed.

By modifying these configurations, you can control the size and number of log files generated, which helps in managing disk space and keeping the log files organized.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article