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 for Outlook Lite & Pro: How to enable and collect logs

Last updated on 2 October 2026

Admin
M-Files for Outlook Pro

Overview

By default, Outlook add-ins only log errors to the console. To enable more detailed logging, follow the steps below based on your version of Outlook (listed below).

There are the following steps to take:

  1. If using M-Files for Outlook Pro, enable logging in the vault application.
  2. Open the developer tools depending on which Outlook client you are using.
  3. Enable logging with specific settings in the developer tools.
  4. Collect the logs and send them securely to M-Files Support.
  5. Disable logging.

Step 1) M-Files for Outlook Pro logs from the server-side

If you are using M-Files for Outlook Pro, first enable the vault application logging.

If you are using M-Files for Outlook Lite, skip this step.

You need a vault administrator account to set these options.

  1. Open M-Files Admin, expand the vault, select Configurations and on the right-hand side expand Other Applications and select M-Files for Outlook.
  2. Expand the "Logging (Vault Application)" node, and enable the settings as follows:
    1. "Enabled": "Yes"
    2. Under "Default Target", set "Enabled": "Yes" and "Default Level": "Debug".
  3. Select the "Logging (Add-In)" setting, and set its value to Debug.
  4. Click Save at the top right-hand corner.

Note: When you are done with the logging, disable logging again so unnecessary logs do not flood the storage ("Logging (Add-In)" back to "Error" and "Enabled" under "Logging (Vault Application)" to "No".

The following articles show examples of how to collect the logs once you are done logging:

Details on the available logging settings:

SETTING DESCRIPTION 
Logging (Vault Application) Specifies if logging is enabled for the vault application.  
Logging (Add-In) 

Specifies if logging is enabled for the add-in. These are the explanations for the log levels: 

DEBUG: All logging. 

INFO: Logging on info, warning, and error levels. 

WARN: Logging on warning and error levels. 

ERROR: Logging on error levels. 

NONE: No logging. 

Unless you are instructed otherwise, set the level to "DEBUG".

Step 2) Open the Developer Tools in your Outlook Client

Open the developer depending on the client you use (list below).

Open the Developer Tools for Outlook on the Web (OWA)

  1. Open Outlook in your web browser.
  2. Press F12 on your keyboard to open the Developer Tools.
  3. Enable the logging settings described above.
  4. Perform the action that you need to log.
  5. Collect the network and console contents, for more details see this Article.
  6. Perform the action that you need to log.
  7. Collect the network and console contents, for more details see this Article.

Open the Developer Tools for the New Outlook Desktop Application (One Outlook)

  1. Close all running instances of Outlook.
  2. Open Windows PowerShell.
  3. Enter the following command:
    • olk.exe --devtools
  4. Outlook will launch with Developer Tools enabled.
  5. Enable the logging settings described above.

Open the Developer Tools for the Classic Outlook Desktop Client

  1. Hover your mouse over the add-in pane.
  2. Press F12 to open Developer Tools.
  3. Enable the logging settings described above.
  4. Refresh Outlook (F9) or reload the add-in to apply the new logging level.
  5. Perform the action that you need to log.
  6. Collect the network and console contents, for more details see this Article.

Step 3) Enable M-Files logging in the browser developer tools

Once the Developer Tools are open, follow these steps to enable detailed logging for the Outlook add-in:

  1. Navigate to the Application tab in the Developer Tools.
  2. In the left-hand sidebar, expand Local Storage and select the domain for the add-in: 
    https://mfnewoutlookaddinprod.m-files.com
  3. In the key-value table on the right-hand side:
    1. Add a new key: "MFiles.OutlookAddin.DebugFlags-LogLevel"
    2. Set the value according to the desired log level. Unless you are instructed otherwise, choose value "0" for "Debug" level.

Details on the available logging settings:

Log LevelValue
DEBUG0
INFO1
WARN2
ERROR3
OFF4

Step 4) Collect the logs and send them securely to M-Files Support

You should have the following logs:

  • .har file from the browser dev tools Network tab.
  • .log or .txt file from the browser dev tools Console tab.
  • If using M-Files for Outlook Pro, a folder or archive with the vault application logs.

Send them securely to M-Files Support via our Cryptshare Portal: How to send files via Cryptshare portal.

Step 5) Disable Logging

You should still have the relevant tools open (M-Files Admin and/or the browser developer tools). Undo the actions taken above - disable logging in the vault application for M-Files for Outlook Pro, delete the key from the local storage in the browser developer tools.

Still need help?