# NServiceBus Host Logging Configuration > [!WARNING] > Starting with NServiceBus version 8, the NServiceBus Host is no longer supported. Refer to the [the host upgrade guide](/nservicebus/upgrades/host-7to8.md) for further details and alternatives. > [!NOTE] > For endpoints using NServiceBus version 7 and above, it is no longer recommended to use the NServiceBus Host. Use alternative approaches such as [Generic Host](/nservicebus/hosting/extensions-hosting.md), [NServiceBus Windows Service](/nservicebus/hosting/windows-service.md) or [NServiceBus Docker Container](/nservicebus/hosting/docker-host/index.md) instead. This article explains how to customize the logging configuration when using the NServiceBus host. For more details about logging configuration with the built-in profiles, refer to the [NServiceBus.Host Profiles - Logging](profiles.md#logging) section. ### Constructor of IConfigureThisEndpoint implementation Logging should be customized in the class's constructor that implements `IConfigureThisEndpoint`. That is recommended, as the class implementing `IConfigureThisEndpoint` is the earliest opportunity to initialize [any custom logging framework](/nservicebus/logging/index.md#custom-logging). > [!WARNING] > If logging is not initialized in the constructor and anything goes wrong during the startup of the NServiceBus.Host errors could be written to the default NServiceBus logging location and not in the expected custom log output location(s). ### Via endpoint configuration To change the host's logging configuration, implement the `IConfigureThisEndoint` interface. Provide the custom configuration in the `Customize` method: ```cs class CustomLogging : IConfigureThisEndpoint { public void Customize(EndpointConfiguration configuration) { LogManager.Use(); } } ```