AOSSIE-Org / AOSSIE-Org/PictoPy

Feat: Display the time of each activity while logging.

Aperta
#1,170 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
283
Fork
679
Merge medio
7g 2h
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.