Build Forge bfagent.log Not Getting Updated/Rotated
![](http://jazz.net/_images/myphoto/274e32bd0567843528578fe4e0e17072.jpg)
Hello,
One answer
![](http://jazz.net/_images/myphoto/274e32bd0567843528578fe4e0e17072.jpg)
Hello JY,
I am not familiar with the Build Forge Agent's ability to rotate the logs, specifically the activity_log setting under the bfagent.conf file.
That log is recommended only to be enabled should you have an issue and/or at the Support's team request.
The default setting the bfagent activity_log should be "/tmp/bfagent.log", even on Windows.
The directory /opt/buildforge/logs/ appears to be the directory used by the Build Forge Console, not the agent specifically.
Were you attempting the rotate the Perl engine logs under Build Forge 8.0.0.3 or later, which instructions can be found at the following?
Enabling the Perl Engine log rotation feature
https://jazz.net/downloads/rational-build-forge/releases/8.0.0.3?p=news#rotate
The Build Forge Java engine (MJC) should already automatically rotate.
Comments
![](http://jazz.net/_images/myphoto/274e32bd0567843528578fe4e0e17072.jpg)
Hey Joshua,
![](http://jazz.net/_images/myphoto/7b6d2c2fc0dd7908a8c8cb8f03782560.jpg)
Hello JY,
Currently, there is no feature available under the bfagent to rotate the log.
As noted before, the log is intended for debugging and not for a log that should be always enabled on a working bfagent.
As there have been some rare instances where leaving the activity_log enabled has directed generated issues under the bfagent resolved after the activity_log was disabled.
Installing -> Installing agents -> Configuring the agent -> bfagent.conf reference
activity_log path
https://www.ibm.com/support/knowledgecenter/SSB2MV_8.0.0/com.ibm.rational.buildforge.doc/topics/agent_configure_bfagent_conf.html
Important
There is no limit on file size. The file must be manually deleted. This setting is intended to be used temporarily for debugging the agent. It is not intended as a permanent log for a working agent.
![](http://jazz.net/_images/myphoto/274e32bd0567843528578fe4e0e17072.jpg)
Noted, Joshua. In that case, I will disable it.