I'm not versed on the syslog filtering options. I would like to see multiple types of logs, but hopefully have them in their own individual files so I don't have to parse through a single file. But even if I wanted them all to log to a single file (eg. the syslog), the last one wins, so how can I get the debug, error, and info logs to all log to the syslog?
-Brian (As confused as a blonde alphabetizing M&M's) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kevin Falcone Sent: Tuesday, March 30, 2010 7:59 AM To: [email protected] Subject: Re: [rt-users] Another Stupid Question On Tue, Mar 30, 2010 at 07:08:54AM -0500, Brian Lawson wrote: > So I can have multiple lines like: > > Set($LogToSyslog, 'debug'); > Set($LogToSyslog, 'error'); > Set($LogToSyslog, 'info'); > > I would think that this would set the $LogToSyslog variable to the last > value, or am I missing something? Again... No, last one wins. Why don't you explain what you want to accomplish, or just log to syslog and use your syslog config to filter to multiple files. -kevin > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Kevin > Falcone > Sent: Monday, March 29, 2010 5:09 PM > To: [email protected] > Subject: Re: [rt-users] Another Stupid Question > > On Mon, Mar 29, 2010 at 04:46:01PM -0500, Brian Lawson wrote: > > Can you set up RT to log to multiple files? All the examples I've > seen look like you can only > > set one type of log level to log to a file. > > Just log to syslog or screen and have syslog/apache do filtering > > -kevin > > This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
