Sn0wCrack / ExHen-Archive

System for crawling/archiving and viewing ExHen galleries
The Unlicense
89 stars 8 forks source link

[ENH] Make logging configurable #14

Closed PBXg33k closed 5 years ago

PBXg33k commented 6 years ago

I'd like to propose to replace the current logging implementation with https://seldaek.github.io/monolog/.

Reason for this is that monolog is a widely supporting logging library with support of many handlers, and many other things. In my case, running in docker, i want to log to either file, console output and/or a remote logging server.

The easiest implementation for now would be in my opinion:

Optional:

Sn0wCrack commented 6 years ago

I don't particular think this is something I'm going to support with ExHentai-Archive unfortunately.

I'm mostly just updating ExHentai-Archive when things absolutely munt themselves because of changes to e-hentai.

I'm currently working on a replacement to ExHentai-Archive called SadPanda-Archive that I'm focusing on right now.

It should hopefully be a drop in replacement in some regards (I'll probably write up a upgrade guide once things are fully up and running), and improvements in others. I'm definitely focusing on logging as one of the improvements I'm going to make (and already having using Winston and Morgan for the server-side logging).