<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>How can I log every operations happening in background in
RT? Right now I get only the logs of the cleaned up sessions which I would be
doing once a month. Nothing more than that.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Also is there a way to have a persistant log file so that
even if you restart the web server the log file wont terminate in between .
i.e, when I refer the apache.error file I get the following entries.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 17:56:03 2009] [info] [client 192.168.0.145]
(32)Broken pipe: client stopped connection before rwrite completed<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 17:56:03 2009] [debug] Apache.c(364): (32)Broken
pipe: mod_perl: rwrite returned -1 (fd=3, B_EOUT=8)\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:14:59 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:16:21 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:16:25 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:17:31 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:17:43 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:19:30 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:21:48 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:23:06 2009] [error] Log file '/opt/rt3/var/log/rt.log'
couldn't be written or created.\n RT can't run. at /opt/rt3/bin/../lib/RT.pm
line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:24:23 2009] [error] Log file
'/opt/rt3/var/log/rt.log' couldn't be written or created.\n RT can't run. at
/opt/rt3/bin/../lib/RT.pm line 318.\n<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[Wed Aug 19 19:24:23 2009] [info] [client 192.168.0.145]
(32)Broken pipe: client stopped connection before rflush completed<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>After this I cleaned up the old sessions of RT and then RT logging
starts fine. Is there way to combine these events in RT log instead of
apache.error file?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Manohar<o:p></o:p></span></font></p>
</div>
</body>
</html>