Skip to content

Bootstrap logging for Config Server not working as expected #1632

@TimHess

Description

@TimHess

Describe the bug

Either of these should produce logs for the config server

var loggerFactory = BootstrapLoggerFactory.CreateConsole();
// or
var loggerFactory = BootstrapLoggerFactory.CreateConsole(logging => logging.SetMinimumLevel(LogLevel.Trace));

builder.AddCloudFoundryConfiguration(loggerFactory);

But I'm not seeing anything relevant in the console

Steps to reproduce

See example

Expected behavior

We should see logs of config server related requests when this code is used:

Environment (please complete the following information):

  • Steeltoe 4.0
  • Platform: local, TP
  • .NET Version .NET 9.0 or 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type/questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions