AOSSIE-Org / AOSSIE-Org/PictoPy

Feat: Display the time of each activity while logging.

未关闭
#1,170 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
283
派生
679
平均合并
7 天 2 小时
30 天内合并 PR
3

描述

### Describe the feature

### Description
This feature will display the exact time at which each action or execution occurs while logging.
- Example
- **`[BACKEND] | INFO | 19:28:03 | [access] 127.0.0.1:58132 - "GET /images/?tagged=true HTTP/1.1" 200`**
- **`[SYNC-MICROSERVICE] | INFO | 19:28:18 | [access] 127.0.0.1:59097 - "GET /folders/status HTTP/1.1" 200`**
Most hosting platforms also provide this feature.

### Files affected
- `modified:` backend/app/logging/**setup_logging.py**
- `modified:` sync-microservice/app/logging/**setup_logging.py**
- `modified:` utils/logging/**logging_config.json**

### Add ScreenShots

## Screeenshots (Before)
### No timestamp for logging activity.
- **`Backend`**
Image

- **`Sync-microservices`**

Image

## After Screenshots(After)
### Timestamp is now available for logging activity.
- **`Backend`**

Image

- **`Sync-microservices`**

Image

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。