Skip to main content
gcortes1
Staff
Staff
July 22, 2025

Technical Tip: How to rotate the log file of the FortiAuthenticator Agent

  • July 22, 2025
  • 0 replies
  • 388 views
Description This article describes how to rotate the log file of a FortiAuthenticator Agent.
Scope FortiAuthenticator Agent, Windows 10 and Windows 11.
Solution

In this case, FortiAuthenticator Agent v6.2 is installed on Windows 10. Open the FortiAuthenticator Agent and stop the service 'FortiAuthenticator Agent service'.

 

Stop_fac_agent.png

 

Open a CMD in administrator mode.

 

CMD_admin.png

 

Select the path to install the FortiAuthenticator Agent to, and in this path, select the 'log' folder.

 

cd "C:\Program Files\Fortinet\FortiAuthenticator Agent\log"

 

cd_path.png

 

In the path 'C:\Program Files\Fortinet\FortiAuthenticator Agent\log', identify the file 'FAC_Agent.Service.ServiceHost_log.txt' and rename it.

 

ren FAC_Agent.Service.ServiceHost_log.txt FAC_Agent.Service.ServiceHost_log.txt.0

 

ren_log.png

 

After starting the 'FortiAuthenticator Agent service', a new log file will be created:

 

ren_log_new.png

 

Related article:
Technical Tip: How to download FortiAuthenticator Agent log for Microsoft Windows