<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003><SPAN 
class=437174112-03042003>NOTE: This one does not touch 
localtime_r..</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003><SPAN 
class=437174112-03042003></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003>Here's a small patch 
to logger.c&nbsp;i wrote which enables Asterisk to log to 
syslog.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003>put a line like 
below in your logger.conf:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=359385209-03042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003>syslog =&gt; 
notice,warning,error<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003>and&nbsp;Asterisk 
will write it's logging to /var/log/messages too..</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003>Note that event-log 
logging is not yet included. (should it be?)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=359385209-03042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=359385209-03042003>Michiel 
Betel</SPAN></FONT></DIV></DIV></BODY></HTML>