Is there any way to change windows Agent-client-collector log location?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:09 PM
Hi All,
I changed acc.yml file's windows log location parameter.
==> Windows location : C:\Servicenow\agent-client-collector\log
But still winodws log is generated at C:\ProgramData\ServiceNow\agent-client-collector\log\acc.log
Any advice?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:34 PM
Hi @한균우 ,
For Windows: The location specified by the log-file
configuration flag. The default location is: C:/ProgramData/ServiceNow/agent-client-collector/log/acc.log
If the C:/ProgramData directory is hidden (such as on older Windows versions), change the Explorer filter to show hidden elements.
These are the default Log parameters:
log-file | The log file location. Default =
Windows: C:/ProgramData/ServiceNow/Agent-client-collector/log |
log-file-and-stdout | Write logs to the stdout file. Default: false. |
log-file-max-age | Maximum age, in days, of the log file before it is rotated out of the system memory. Default: 3. |
log-file-max-backups | Maximum number of log files that can be stored before being rotated out of the system. Default: 3. |
log-file-max-size | Maximum size, in MB, of the log file before it is rotated out of the system memory. Default: 10. |
log-level | The log level to be measured by the logs. Available options are: Panic, Fatal, Error, Warn, Info, Debug. Default: Info.
The specified log level represents the lowest level of events displayed in the log. For example, a user who specifies Error sees all Error events, as well as Fatal and Panic events. |
I don't see other options to change the log location but if you want to do it anyways then configure the agent to use the alternative account (local system/ad whatever you choose) during the install using the install parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 09:08 PM
Hi @Community Alums ,
Thanks for kind reply,
I already use install parameter but PrograData/servicenow directory is not moved.
The log file is located in the PrograData\servingenow directory, which has not been changed.
Hank.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 02:57 AM