vericast / conda-mirror

Mirror upstream conda channels
BSD 3-Clause "New" or "Revised" License
71 stars 59 forks source link

WIP: First pass at a CLI for analyzing mirror logs #33

Closed ericdill closed 7 years ago

ericdill commented 7 years ago

As the maintainer of the conda-mirror infrastructure (at MaxPoint) I want a way to easily evaluate the conda-mirror logs from the command line. Things that are important to me:

  1. I want to see the logs separated by run execution time/date

  2. I only want to see the last N runs of conda-mirror

  3. I want to be able to drill down into individual executions by run number

  4. I want to be able to show the lines from the logs that correspond to the four logging levels: "Debug", "Info", "Warning" and "Error". All other lines should be bucketed into an "Other" group.

ericdill commented 7 years ago

I think a better solution here would be to extend conda_mirror with callbacks on specific events. Log analysis does not feel like the correct solution