[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] syslog 3.0 and fra_digits()
From:       Joe Hansen <yrmf250 () yahoo ! com>
Date:       2009-03-31 22:20:04
Message-ID: 484128.89470.qm () web59713 ! mail ! ac4 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I need this format of date in my syslog (notice the 3 digit miliseconds):

Mar 31 22:17:04.056 HOSTNAME PORTAGENT[10354]: INFO,broadcast srp down,

NOT:

2009-03-31T22:17:42.000+00:00 HOSTNAME PORTAGENT[10354]: INFO,broadcast srp down


--- On Tue, 3/31/09, Joe Hansen <yrmf250@yahoo.com> wrote:
From: Joe Hansen <yrmf250@yahoo.com>
Subject: [syslog-ng] syslog 3.0 and fra_digits()
To: syslog-ng@lists.balabit.hu
Date: Tuesday, March 31, 2009, 9:17 PM

I just installed syslog 3.0 and added fra_digits(3) in my options, and restarted \
syslog-ng. I still don't see the milliseconds in the logs.  I don't want to use ISO \
format.  Can anyone suggest a solution?

Thanks,
Jo



       

  

    

    

    

    

 

      Yahoo! 
        Canada Toolbar : Search from anywhere on 
        the web and bookmark your favourite sites. Download it now!  
        ______________________________________________________________________________
 Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html




      __________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada \
Messenger at http://ca.beta.messenger.yahoo.com/


[Attachment #5 (text/html)]

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">I need this format of date in my syslog (notice the 3 digit \
miliseconds):<br><br>Mar 31 22:17:04.056 HOSTNAME PORTAGENT[10354]: INFO,broadcast \
srp down,<br><br>NOT:<br><br>2009-03-31T22:17:42.000+00:00 HOSTNAME PORTAGENT[10354]: \
INFO,broadcast srp down<br><br><br>--- On <b>Tue, 3/31/09, Joe Hansen \
<i>&lt;yrmf250@yahoo.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px \
solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Joe Hansen \
&lt;yrmf250@yahoo.com&gt;<br>Subject: [syslog-ng] syslog 3.0 and fra_digits()<br>To: \
syslog-ng@lists.balabit.hu<br>Date: Tuesday, March 31, 2009, 9:17 PM<br><br><div \
id="yiv1361793247"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td \
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: \
inherit; font-size: inherit; line-height: inherit; font-size-adjust:  inherit; \
font-stretch: inherit; -x-system-font: none;" valign="top">I just installed syslog \
3.0 and added fra_digits(3) in my options, and restarted syslog-ng. I still don't see \
the milliseconds in the logs.&nbsp; I don't want to use ISO format.&nbsp; Can anyone \
suggest a solution?<br><br>Thanks,<br>Jo<br><br></td></tr></tbody></table><br>  <p \
class="MsoNormal"> </p>

  

    

    <div class="MsoNormal" style="text-align: center;" align="center"><font size="3" \
face="Times New Roman"><span style="font-size: 12pt;">

    <hr size="1" width="100%" align="center">

    </span></font></div>

 

      <p class="MsoNormal"><font size="3" face="Times New Roman"><span \
style="font-size: 12pt;"><img id="_x0000_i1026" \
src="http://us.i1.yimg.com/us.yimg.com/i/ca/iotg_search.jpg" width="25" \
align="absbottom" border="0" height="25" hspace="4"><a rel="nofollow" target="_blank" \
href="http://ca.toolbar.yahoo.com/"><b><span style="font-weight: bold;" \
                lang="NO-BOK">Yahoo! 
        Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on 
        the web and bookmark your favourite sites. Download it now! </span></a> 
        </span></font><span \
lang="NO-BOK"></span></p></div><pre>______________________________________________________________________________<br>Member \
info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<br>Documentation: \
http://www.balabit.com/support/documentation/?product=syslog-ng<br>FAQ: \
http://www.campin.net/syslog-ng/faq.html<br><br></pre></blockquote></td></tr></table><br>
  <hr size=1>
Looking for the perfect gift?<a href="http://www.flickr.com/gift/"><b> Give the gift \
of Flickr!</b></a>



______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic