question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document `LOG_TO_CLOUD`

See original GitHub issue

Current behaviour

When attaching a logger to Prefects log handler, the logs don’t appear in Prefect Cloud. This is because PREFECT__LOGGING__LOG_TO_CLOUD defaults to False in the code. Additionally, this parameter is undocumented in the logging docs for Prefect.

Proposed behaviour

  1. Document this parameter somewhere in https://docs.prefect.io/core/concepts/logging.html
  2. Consider defaulting to True.

Example

Logging configuration is critical for best use of the Cloud UI. Defaulting to True would make this more discoverable and explicit.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lauralorenzcommented, Apr 21, 2020

@arlobryer closing this issue for now since from our investigations it should be defaulted to True in this case, if you can get a reproducible example for us feel free to reopen. Thanks! 😃

0reactions
joshmeekcommented, Apr 3, 2020

@arlobryer Any chance you could provide a reproducible example? I’m looking through the code and it seems like the config should be automatically set when running in the context of a cloud/server run? 🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

DocumentCloud
Embed documents on your site and publish to our growing archive. Upload documents. Extract, analyze, and search text. Annotate, redact, and edit.
Read more >
How to send log to Cloud Watch in C# application
Cloud Watch Agent runs on your server and can watch logs files that are produced. These log files can be anything, IIS Logs,...
Read more >
Kibana log to cloud storage - Elastic Discuss
Hello, Can we have direct connectivity to upload kibana.log file after reaching to specific size of file to cloud storage?
Read more >
05 VPC Flow log to Cloud Watch Log Group - YouTube
AWS SAP Playlisthttps://youtube.com/playlist?list=PLaT4LcgY7hsnUS9ZOwW--JsuEjRf0YpV-Reference Document and Lab ...
Read more >
Document Locator DL Cloud Hosting
Document Locator hosting utilizes Microsoft Azure, the cloud platform of choice for modern business. Hosting reduces overhead for equipment and maintenance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found