Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback

Last updated on 13 May 2026 · 3 min read

Admin
M-Files Web

Overview

In some cases you may need to see how and what incoming requests handled by the Web server that comes with M-Files server. This is usually something that M-Files Support will request from you to investigate. If you get explicit instructions for other values or additional logs, follow those instructions.

Solution

These instructions apply to M-Files Server version 26.3 (March 2026) and later.

1) Set the following registry keys on the server.

Note that the parent keys may not exist and you may have to create them manually, unless you import this via a .reg file.

Make sure to replace <version> with the actual version of your M-Files Server.

Note that the values are hexadecimal. For other possible values, especially if you were asked by Support, see the section at the end "Other possible values".

The keys may not exist in your installation so you may need to create them. You can use the example below in a .reg file to make this easier.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFGrpcHttpServer\Logging]

"Enabled"=dword:00000001

"EnableVerboseLogging"=dword:00000001

"LogCategories"=dword:40020010

2) Wait 15 minutes for the settings to take effect

3) Reproduce the action that you need to log.

Note down the UTC time.

Collect the browser logs (if applicable) as well: /article/How-to-gather-network-log-from-Google-Chrome-for-M-Files.

4) Set the Enabled key above to 0 to disable logging

5) Collect the logs and send them securely to M-Files.

They will be in the same folder as other "LOGW" logs from M-Files Server, by default:

C:\Windows\Temp\MFilesLogs

If you want to use a different path, add an expandable string key (REG_EXPAND_SZ) named "LogDir" and set it to the desired folder in step 1.

Make sure to send them via our Cryptshare portal: /article/How-to-Send-Files-via-CryptShare-Portal.

Other possible values

There are a few other options for values for those registry keys. Typically, M-Files support will ask you to set them if needed.

For EnableVerboseLogging values can also be 0x0, 0x1, 0x2, 0x100, 0x110 to respectively increase the logging level and details. Note that the 0x100 and 0x110 values may also log sensitive (e.g., PII) information.

For LogCategories you may add (hexadecimal sum) the following values to the main one (0x40000000):

  • 0x10 - Generic: Installation: initializations, shutdown and other general tasks.
  • 0x8000 - File Operations: Operations such as file download and upload.
  • 0x10000 - gRPC: Logs gRPC log messages. For servers under active use this may cause an extreme amount of information to be logged.
  • 0x20000 - Authentication: Logs authentication and session management diagnostics.
  • 0x8000000 - DataPush: Logs Server Data Push and related operations such as electronic signatures.
  • 0x40000000 - Enables the logs: This is always required.

For example, if you want to also log the web server operations related to general matters, authentication, and electronic signatures, you need to add the following:

0x40000000 + 0x8000000 + 0x20000 + 0x10 = 0x48020010

So, you would set

"LogCategories"=dword:48020010

If you are using the graphical interface and decimal values, that value would be 1208090640.

NOTE: Versions 2025.3 (March 2025) through 2026.2 (February 2026) contain a more limited version of these logs.

For those versions, the value for the LogCategories key can only be:

"LogCategories"=dword:ffffffff

NOTE 2: If you are familiar with other M-Files LOGW logging, there are other keys you can use that control settings like log file size limits, define log rotation or log location. If assistance with that is necessary, ask M-Files Support. 

Still need help?