Change logging folder?

Having problems with IHMC CmapTools? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapTools, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Post Reply
lambecth
Posts: 2
Joined: Mon Jun 27, 2022 11:47 am

Change logging folder?

Post by lambecth »

Hello,
my company uses OneDrive for Business and unfortunately, CmapTools is putting the log folder CmapToolsLogs inside the OneDrive folder.

Code: Select all

C:\Users\<Username>\OneDrive - <Company name>\CmapToolsLogs\
2022-06-27_220146.png
This means that OneDrive is constantly synchronizing. This is very annoying because it drives up the CPU load, drains the laptop's battery, and increases noise from the CPU fan.

Unfortunately, you can only set OneDrive not to sync files from the server to the local computer. However, OneDrive always synchronizes new local files to the server.
2022-06-27_220146.png
Question: Is it possible to
  • Move this folder to a location outside of OneDrive? Maybe to

    Code: Select all

    C:\Users\<Username>\CmapToolsLogs\
  • Or let the user choose a directory?
  • Or disable logging altogether? (I certainly don't need it.)
Best regards
Thomas
cmapadmin
Site Admin
Posts: 833
Joined: Sat Dec 13, 2008 2:22 pm

Re: Change logging folder?

Post by cmapadmin »

The Installer has an "Advanced Installation" option that allows you to pick the folders during installation.

If you have already installed, you can go to the folder where CmapTools program is installed, usually named "IHMC CmapTools", and located under e.g. /Applications or /Program Files, go into the bin directory, and edit (with a text editor) the 'cmaptools.cfg' file. There you will find the entry:

logger.file.path=%h/CmapToolsLogs

which is placed by default, where %h is the home directory.

You can replace it for whatever directory you want, as long as you have write permissions.
lambecth
Posts: 2
Joined: Mon Jun 27, 2022 11:47 am

Re: Change logging folder?

Post by lambecth »

This solves the issue. Thank you very much! :D

I had only looked in the roaming directory %AppData%\CmapTools\ and didn't pay closer attention to the installation directory.
jasperwilde09
Posts: 1
Joined: Tue Mar 26, 2024 10:00 pm

Re: Change logging folder?

Post by jasperwilde09 »

Thank you both,enneagram test I was having the same problem and didn't know how to solve it until I read this article.
herfast
Posts: 1
Joined: Wed May 01, 2024 8:53 pm

Re: Change logging folder?

Post by herfast »

hello, i'm new and i wonder how to get write permission? It seems my account doesn't have this feature

Quick Draw
Last edited by herfast on Fri May 03, 2024 1:33 am, edited 1 time in total.
cmapadmin
Site Admin
Posts: 833
Joined: Sat Dec 13, 2008 2:22 pm

Re: Change logging folder?

Post by cmapadmin »

Permissions are handled at the operating system level, not in CmapTools.
Post Reply