darxtrix / darxtrix/ptop

Use a good logging mechanism

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
good first issue refactoring
Dominant language
Python
Stars
582
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I am not able to see the logs in the `.ptop.log` file.

A better way would be make a directory named `.ptop` and add separate log files under it. For the sake of preventing memory flooding, we have to have some cycling/cleaning mechanism of log files.

Need to see what are the best practices for usage of logging module.

**Observations**
- Current behavior is that only INFO level logs are made to the log file and upon termination/quitting of ptop the log file is erased.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.