sociam / indx

INDX Server
http://sociam.github.io/
GNU Affero General Public License v3.0
42 stars 6 forks source link

coloured server logging to stdout? #114

Closed FlamingTempura closed 10 years ago

FlamingTempura commented 10 years ago

It would be great if errors were in red text so they could be easily spotted. could we have an extra flag like

python bin/server.py ... --log-stdout --log-color
FlamingTempura commented 10 years ago

Added in a84a1e5b52f6a415ad1e59d2f0f547ebd08abfbf. Warnings and errors will be printed to stdout in red.

python bin/server.py ... --log-stdout-color

@danielsmith-eu you might want to review what I've added to server.py in a84a1e5b52f6a415ad1e59d2f0f547ebd08abfbf