Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 907 Bytes

README.md

File metadata and controls

55 lines (39 loc) · 907 Bytes

Dlogs

A simple CLI utility for collecting statistics from your log s

PyPI - Version

DLogs help

Install

pip install dlogs

Using

It works from the command line

Analyze a single log file:

dlogs log/log_file.log

Analyze all logs in a directory:

dlogs logs/

Analyze multiple log files:

dlogs log/log_file.log log/log_file2.log

Analyze logs with specific handler:

dlogs log/ --report django

Analyze logs with specific file extension:

dlogs log/ --report django --suffix .log

Analyze logs with debug output:

dlogs log/ --report django --debug

Available options:

  • --report {django} - specify the report type
  • --suffix SUFFIX - filter files by extension
  • --debug - enable debug output