Please add support for:
- time in log files
- logrotate support for log files
- log to syslog
Comment #1
Posted on Jul 13, 2013 by Massive Cathttps://code.google.com/p/log4go/ might be useful.
Comment #2
Posted on Jul 13, 2013 by Quick Horse1 and 2 can be handles by another program specifically written with such purpose, for example runit's svlogd.
Comment #3
Posted on Aug 14, 2013 by Grumpy CatLatest version has switched to glog.
I found it is a very rough library. And I have to copy the source code in order to adjust some settings.
But in general, the time in logs, logrotate.
I don't quite understand the "syslog support" requirement though. By default, glog generate logs under /tmp, with a sophisticated naming convention. The log directory can be configured by -log_dir=""
Comment #4
Posted on Aug 30, 2013 by Grumpy Cat(No comment was entered for this change.)
Comment #5
Posted on Oct 9, 2013 by Massive Catflag provided but not defined: -log_dir. So, how can I specify log dir?
What I mean with "syslog support" is a simple way to aggregate all logs across nodes.
Comment #6
Posted on Oct 9, 2013 by Grumpy CatComment deleted
Comment #7
Posted on Mar 17, 2014 by Grumpy CatTo run with glog, you need to specify glog flags between "weed" and weed command , e.g., "volume", "master":
weed -v=2 master weed -log_dir=. volume
Status: Fixed
Labels:
Type-Enhancement
Priority-Medium