aliyun / aliyun/aliyun-log-python-sdk

uwsgi多进程下无法采集日志

Open
#153 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
176
Forks
119
Avg merge
3h 56m
Merged PRs (30d)
2

Description

hi,我用的uwsgi启动的flask,利用配置文件配置的log信息指向阿里云,当flask启动多进程并打log时,在阿里云网页上看不到相关log,如果不用日志服务,直接打在本地则可以在本地log看到

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported setup with Flask running under uWSGI in multiple processes, using the configuration that sends logs to Aliyun Log Service. Compare the behavior with logs written locally and verify completion when application logs from all processes are visible in the Aliyun web console.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
backend, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.