Closed dlidstrom closed 1 year ago
So it starts, it just doesn't log anything. And I noticed in another issue that a build might be necessary first.
Hey @dlidstrom This is by design! We don't want to write to the console when not in debug mode.
You can change this default behavior by creating a appsettings.Production.json
file and then adding a filesync like in the appsettings.Development.json
file:
"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console"
}
]
}
}
]
},
@Zeegaan Thanks for clarifying. I just noticed the same and now see output after duplicating the appsettings.Development.json file.
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
11.0.0-rc4
Bug summary
When trying to run a minimal site after publishing nothing happens. I'm on Windows using dotnet 7.0.100.
Specifics
No response
Steps to reproduce
Here is the reproduce steps:
At this point nothing happens. Am I missing a step?
Expected result / actual result
I expect the site to start. Compare with running a vanilla mvc site: