On Fri, Dec 20, 2013 at 10:15:37AM -0800, Russ Allbery wrote: > > Are you actually looking for syslog per se here, or are you primarily > > interested in logging of stderr generally? > I am specifically looking for syslog. I consider logging to disk files to > be significantly inferior: I can't use rsyslog to send them to Splunk or > any other central log server, I have to figure out some special > incantation to safely rotate them instead of just throwing them into the > syslog rotation rules, and the date stamp format isn't picked up from the > general rsyslog configuration. > Our existing Tomcat init scripts already capture Tomcat output in local > disk files, so upstart currently doesn't add much value there. Getting > them into syslog would be quite helpful. > This is a relatively minor thing since one can set up some simple > pipelines to do this (and you can tell that it's minor in that we've not > done that work yet), but for something as critical as logging it's nice to > not have to worry about the other end of the pipeline dying and not > getting restarted or having log messages lost when it does. Right, those are all pretty much the reasons I would expect for preferring rsyslog. As I said, I just think there's a trade-off between supporting this and having confusing complexity exposed to the users. On Fri, Dec 20, 2013 at 06:52:51PM +0000, Ian Jackson wrote: > Steve Langasek writes ("Bug#727708: Quick upstart and systemd feature comparison"): > > It would be a straightforward incremental change on top of the existing > > logging support in Upstart. I'm not sure it's such a great idea to have > > some logs going to /var/log/upstart and some going via syslog, however; the > > resulting user/admin confusion may outweigh any benefit from supporting > > syslog. > Perhaps it would be possible to have a global setting that changes the > effect of "log console" to use syslog. Yes, I think if we were to implement this, this would be the way I'd prefer to see it done. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org
Attachment:
signature.asc
Description: Digital signature