How to disable path masking?

You’re probably getting a message with the file/directory or just a path (***\things), and you might have the same folder twice somewhere, and you need to see the full path without masking if this is what you’re looking for, all instructions how to do that are provided here.

Open-up logging.json in the root of the downloaded BitMono, edit this file, and remove this:

"Enrich": [
    {
        "Name": "WithSensitiveDataMasking",
        "Args": {
            "options": {
                "MaskValue": "***\\",
                "MaskProperties": [ "path", "directory", "file" ],
                "MaskingOperators": [ "BitMono.Host.Extensions.PathMaskingOperator, BitMono.Host" ]
            }
        }
    },
],

So, after edit logging.json looks like this:

{
    "Serilog": {
        "Using": [
            "Serilog",
            "Serilog.Sinks.Console",
            "Serilog.Sinks.File",
            "Serilog.Sinks.Async",
            "Serilog.Enrichers.Sensitive"
        ],
        "WriteTo": [
            {
                "Name": "Async",
                "Args": {
                    "configure": [
                        {
                            "Name": "File",
                            "Args": {
                                "path": "logs/bitmono-{{date}}.log",
                                "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}][{SourceContext}] {Message:lj}{NewLine}{Exception}"
                            }
                        }
                    ]
                }
            }
        ],
        "Enrich": [
            "FromLogContext"
        ],
        "MinimumLevel": "Debug"
    }
}