Overview
How to enable dotnet logging
Solution
We would like to capture more logging information for the .NET adapter. To enable the maximum logging for the .NET Adapter, place a file named log-config.json in the working directory of your .NET Application (usually the folder containing the .exe file) with the following contents:
{
"targetfile":"dotnet.log",
"enabled": true,
"minlevel": "trace",
"toconsole": false
}
To enable verbose Runtime logging, add the following command line option to the RuntimeOptions definition:
var runtimeOptions = new RuntimeOptions()
{
// All the other settings, such as Version
Arguments = "--v=1"
};
The dotnet log will then be found in this location:
%localappdata%\Openfin\logs\dotnet.log
The debug log will be found in this location:
%localappdata%\Openfin\cache\{RuntimeVersion}\debug.log
Comments
0 comments
Please sign in to leave a comment.