AOSSIE-Org / AOSSIE-Org/PictoPy

Feat: Display the time of each activity while logging.

Open
#1,170 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
283
Forks
679
Avg merge
7d 2h
Merged PRs (30d)
3

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.