microsoft / microsoft/promptflow
[Feature Request] Logging statements are not present in log output
Open
Nobody has claimed this yet.
feature
promptflow-core
- Dominant language
- Python
- Stars
- 11.2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When emitting logging statements within a flow in prompt flow, they do not appear in the log output.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
- In a Python node, emit a log using:
logger = logging.getLogger(__name__)logger.warn("log statement")
"log statement"should show up in the log output when running a flow
Expected behavior
"log statement" should show up in the log output when running a flow (and with that also in logs.txt).
Running Information(please complete the following information):
- Promptflow Package Version using
1.4.1 - Operating System: WSL on Windows 11
- Python Version using Python (Linux) 3.9.18
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.