Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Gathering logs

How to change Hubshare logging level for your on-premise environment (until version 5.0.10.x)

Last updated on 11 August 2025

Admin
M-Files Hubshare

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

  1. Go inside your Hubshare folder, depending on where it is located on your server. (C:\Hubshare by default)
  2. 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\image.png
  3. Edit the "level value" line as framed in red in the screenshot below with one of the options you have: 
    DEBUG / INFO / WARN / ERROR
    image.png
    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.
  4. Just save the config file, you don't need to restart the Hubshare application pool.

Still need help?

On this page