Closed tonysneed closed 10 months ago
You can do this today by setting the DaprSidecarOptions
in the call to WithDaprSideCar
Perfect - thanks! 👍
Here is the code from Program.cs in the .AppHost project.
builder.AddProject<Projects.AspireWithDapr_ApiService>("apiservice")
.WithDaprSidecar(new DaprSidecarOptions { AppId = "api", LogLevel = "debug", EnableApiLogging = true });
builder.AddProject<Projects.AspireWithDapr_Web>("webfrontend")
.WithDaprSidecar(new DaprSidecarOptions { AppId = "web", LogLevel = "debug", EnableApiLogging = true });
How is it possible to set the log level for Dapr in an Aspire project?
When running Dapr projects from the command line, it can be done as follows:
Can this, for example, be performed via config in the Aspire AppHost project?