Overview
Note: This article only applies if you are currently using version below the 5.0.11.x of M-Files Hubshare on-premises. If you are on 5.0.11.x on above, please refer to this article: /article/How-to-change-your-on-premises-M-Files-Hubshare-logging-level-5-0-11-x-and-above
Hubshare generates logging files which are in C:\Logs. By default, the logging level is set to warnings.
It could be necessary to increase the level of details that are registered in logs, this document explains how to proceed.
Solution
- Go inside your Hubshare folder, depending on where it is located on your server. (C:\Hubshare by default)
- Edit log4net.web.config (Hubshare Web App) and/or log4net.background.config (Hubshare Worker) depending on which one you want to change the logging level.
Hubshare Web App config file should be located in C:\Hubshare\App\WebApp\
Hubshare Background Worker file should be in C:\Hubshare\App\BackgroundWorker\ - Edit the "level value" line as framed in red in the screenshot below with one of the options you have:
DEBUG / INFO / WARN / ERROR
We recommend using the INFO value to trigger more detailed logs.
WARN is the value by default, please switch back to this value after the troubleshooting has ended. - Just save the config file, you don't need to restart the Hubshare application pool.
