[rt-users] rt syslog configuration

Ruslan U. Zakirov cubic at acronis.ru
Wed Oct 22 05:05:37 EDT 2003


Francesca Del Corso wrote:
> Hi all,
> is it possible to configure RT to use a particular syslog level 
> and facility? My RT is filling /var/log/messages and I would 
> like to redirect its messages into another file using a different syslog
> level and/or facility  from the default.
> I set /opt/rt3/var/log/rt_errorlog inside httpd.conf but some error log
> such as:
> ..............................................
> Oct 20 18:09:50 rt RT: Use of uninitialized value in length at
> /usr/lib/perl5/site_perl/5.8.0/Text/Quoted.pm line 230.
> (/opt/rt3/lib/RT.pm:235)  
> Oct 20 18:09:53 rt last message repeated 11 times
> Oct 20 18:09:57 rt RT: Malformed UTF-8 character (unexpected end of
> string) at /usr/lib/perl5/site_perl/5.8.0/Text/Quoted.pm line 187.
> (/opt/rt3/lib/RT.pm:235)
> Oct 21 01:42:34 rt RT: <rt-3.0.3-243-1151.5.04772214780218 at XX.XXXXX.XX>
> #243/1151
>  - Scrip 3  (/opt/rt3/lib/RT/Action/SendEmail.pm:90)  
> Oct 21 01:42:34 rt RT: <rt-3.0.3-243-1151.5.04772214780218 at .XXXXX.XX >
> No recipients found. Not sending.
> (/opt/rt3/lib/RT/Action/SendEmail.pm:250)  
> Oct 21 01:42:34 rt RT: <rt-3.0.3-243-1151.0.255423230203249 at .XXXXX.XX >
> #243/1151 - Scrip 17 Autoreply al requestor
> (/opt/rt3/lib/RT/Action/SendEmail.pm:90)  
> Oct 21 01:42:34 rt RT: <rt-3.0.3-243-1151.0.255423230203249 at .XXXXX.XX >
> sent 
> ..................................
> 
> goes into /var/log/messages.
	Hello.
Look into RT_Config.pm for 'Logging'
There is description of levels and where to log. Copy this part in 
RT_SiteConfig.pm and customise as you need.
		Good luck. Ruslan.




More information about the rt-users mailing list