Closed joeshaw closed 12 years ago
i'm hesitant to include another dependency for pyres, especially one that's conditional. However, i'd definitely be down for setting up a more robust logging configuration with some sensible defaults.
Make sense. I can keep this local to my fork and when I get a chance I'll look into making it work with logging.config
.
I had some trouble getting this to work, namely with the khan/minions -- it seems like python's built-in logging.config does not fit this model very well. For the moment I've kept my GELF hack, but there's probably a good middle ground still to be found,
Closing this; I've stopped using GELF and won't spend any more time on this.
It is another special value passed in through the -f option, in the form: "gelf:hostname:port"
I'm not sure if you want to add another logging hack to the code. I'm beginning to think that maybe the logging code should be ripped out and replaced with logging.config.fileConfig() usage and include the current configuration and some other examples in a file included w/ pyres.