

We recommend that you sideload only the add-in that you are testing to minimize the number of messages in the log file. Open ~/library/Containers//Data/runtime_logs.txt

defaults write CEFRuntimeLoggingFile -string "runtime_logs.txt" The following example enables runtime logging for Word and then opens the log file. Set to one of the following values to enable runtime logging for the corresponding application. is the name of the text file to which the log will be written. identifies which the host for which to enable runtime logging. Open Terminal and set a runtime logging preference by using the defaults command: defaults write CEFRuntimeLoggingFile -string Make sure that you are running Office 2016 desktop build 16.27 (19071500) or later.

To turn the feature off, remove the RuntimeLogging key from the registry. The following image shows what the registry should look like. The directory in which the log file will be written must already exist, and you must have write permissions to it.
