Hi, The core requirements I see are
- Write to local - in syslog format - Send to remote sylog server - write the messages with appropriate Log level/priority in syslog format If log4j appender could do it, we certainly should consider/leverage that - I'm not an expert on this, is this something that can be automated when we install CloudStack? Hari -----Original Message----- From: David Nalley [mailto:[email protected]] Sent: Tuesday, January 8, 2013 9:17 AM To: [email protected] Subject: Re: [DISCUSS] Syslog enhancements On Tue, Jan 8, 2013 at 12:12 PM, Ram Ganesh <[email protected]> wrote: >> -----Original Message----- >> From: Alex Huang [mailto:[email protected]] >> Sent: 08 January 2013 22:10 >> To: [email protected] >> Subject: RE: [DISCUSS] Syslog enhancements >> >> Ram and Hari, >> >> I continue to have trouble with this feature. What I'm used to >> seeing in syslogs are not the things that are being described here. >> They're usually some log level of an application. If there are >> system events that are not logged to our own logs, why not log them >> to our own logs and use the log4j syslogappender to filter them and >> send them to syslog. Why write something else? >> >> Do you have any use cases where system events should not be logged >> into CloudStack's logs? > > I do not think so. I think it is just the legacy code. We need > to ensure that those events also get logged into the log files. Will > take the log4j syslogappender path then > > Thanks, > Ram > So does this obviate the need for the Syslog feature itself? Can we just make this a docs bug to document how to configure log4j? --David
