-
Notifications
You must be signed in to change notification settings - Fork 482
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
Configure logging for the application #637
Labels
enhancement
New feature or request
Comments
This was referenced Apr 9, 2024
Closed
adamdougal
added a commit
that referenced
this issue
Apr 9, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Apr 9, 2024
* Add additional logs and stop using root logger Required by #637 * Add test to increase coverage
github-merge-queue bot
pushed a commit
that referenced
this issue
Apr 9, 2024
* Switch print statements to use logger Required by #637 * Fix log format
github-merge-queue bot
pushed a commit
that referenced
this issue
Apr 11, 2024
* Allow the setting of log level by env vars Required by #637 * Allow the setting of log level by env vars Required by #637 * Add loglevel to env.sample * Allow log level to be set via bicep * Set log level in admin app * Correctly configure logs in web app * Ensure log level is set for functions * Remove duplicated tests * Fix main.json after merge * Reduce verbose azure logs
eduardogch
pushed a commit
to devopsdale/chat-with-your-data-solution-accelerator
that referenced
this issue
Apr 30, 2024
* Add additional logs and stop using root logger Required by Azure-Samples#637 * Add test to increase coverage
eduardogch
pushed a commit
to devopsdale/chat-with-your-data-solution-accelerator
that referenced
this issue
Apr 30, 2024
* Switch print statements to use logger Required by Azure-Samples#637 * Fix log format
eduardogch
pushed a commit
to devopsdale/chat-with-your-data-solution-accelerator
that referenced
this issue
Apr 30, 2024
* Allow the setting of log level by env vars Required by Azure-Samples#637 * Allow the setting of log level by env vars Required by Azure-Samples#637 * Add loglevel to env.sample * Allow log level to be set via bicep * Set log level in admin app * Correctly configure logs in web app * Ensure log level is set for functions * Remove duplicated tests * Fix main.json after merge * Reduce verbose azure logs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
Configure logging for the application properly. Configure an application logger, as logs with
print()
do not seem to get sent to App Insights. Also configure log level, as by default Flask sets the log level to Warning.https://flask.palletsprojects.com/en/2.3.x/logging/
Requirements
A list of requirements to consider this feature delivered
logger
instead of print statements within appTasks
The text was updated successfully, but these errors were encountered: