Home
About
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

M-Files Server: How to collect logs related to notifications

Last updated on 31 January 2023

Admin
Email Notifications

Overview

In case you have issues with notifications, e.g. sending notifications, there are specific logs that can be enabled to provide more information about the issue. Please repeat the issue with the following registry keys set and send those logs to M-Files Support for further investigation. After the needed logs are gathered these registry keys can be set back to default values.

Solution

You can enable notification logs with these server-side registry settings (note that the registry key values below are hexadecimal):

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

"Enabled"=dword:00000001

"EnableVerboseLogging"=dword:00000110

"LogDir"="%TEMP%\MFilesLogs"

"FlushIntervalInSeconds"=dword:0000000a

"LogCategories"=dword: 02000000

By default, the location of log files is %TEMP%\MFilesLogs. (In test environment: C:\Windows\Temp\MFilesLogs.)

To start logging notifications events, set enabled as the last value:

  1. Set LogCategories (hexadecimal 02000000)
  2. Set EnableVerboseLogging (hexadecimal 110)
  3. Set Enabled (hexadecimal 1)

No need to restart M-Files Server services.

Once logging is ready, set values back to default values to disable logging:

  1. LogCategories = ffffffff
  2. EnableVerboseLogging = 0
  3. Set Enabled = 0

No need to restart M-Files Server services.

NOTE: When you set EnableVerboseLogging key value over 10, the logs may include sensitive information including vault content. The logs should be protected from unauthorized access.

Still need help?

On this page