-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Azure Functions template should use configurable Serilog settings (🚧) #495
base: main
Are you sure you want to change the base?
Conversation
👷 Deploy request for arcus-templates pending review. 🔨 Explore the source changes: 1dc97cb |
Hi @stijnmoreels @fgheysels , A few questions:
I noticed that there seems to be something wrong with the application insights custom logging levels. From what I saw, you need to specify it as well in the serilog settings of the config as well as in the application insights section of the config in host.json. Should this be included in this PR or should I open a separate issue / PR to investigate this further? Thanks for the guidance/feedback/help! |
Great to have you working on this! This repo is not an easy one to contribute, so awesome job! 👍 To test that the Serilog actually uses the local file configuration, we could create a test that disrupts the configuration files after the test project is being created, and see that the project's endpoints aren't available. This can be done with the |
For the other issue about logging levels: we could indeed look into that more after we have established a baseline for reading the configuration in Serilog. |
Let us know if you come across any problems. We'll hold off with our review until this PR is out of construction 😉 . Ps.: Oh, and a good tip while writing tests: the project instance has |
Indeed, that seemed to be the case at one of my projects. If you only specify the logLevels in the Serilog section of the Will first focus on the goal for this PR, and after it we can look at the potential issue/fix for the custom loggingLevels |
One of the things that would make testing locally easier is if someone could provide me their appsettings.private.json, could that be arranged? :) |
I think you only need the instrumentation key of Application Insights, but sure, I can provide it. For your future contributions 😉 |
…abricks.JobMetrics
…e-configurable-serilog-settings
…TS_INSTRUMENTATIONKEY
Hi @spasal , is this something you still want to keep working on ? |
Implements configurable Serilog settings for Azure Function templates
Closes #480