Skip to content

Log messages about license files and probed locations are missing #238

@SeanFeldman

Description

@SeanFeldman

NServiceBus scans various locations for a valid license and outputs the location probed and the one selected.
All traversed locations and the scan result are logged (see https://docs.particular.net/nservicebus/licensing/#troubleshooting).
The instructions for troubleshooting are not working for the Functions package.

The issue stems from how the NServiceBus logger is adopted to Microsoft ILogger. This seems to be handled properly with NServiceBus.Extensions.Hosting by using a deferred logger factory that flushes all NServiceBus logs when an ILogger is available. A similar approach should be taken with the Functions package to allow license troubleshooting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions