ignore syntax errors in mail logs

Tony G
2014-05-31
2014-05-31
  • Tony G

    Tony G - 2014-05-31

    I'm running awstats on a centos 5 machine and I'm impressed with it. For email stats it works with /var/log/maillog but I'd like to include the older rotated maillogs such as /var/log/maillog.1, /var/log/maillog.2 etc...
    Problem is these older rotated maillogs contain minor syntax errors here and there and awstats won't process them. The rotated logs are quite big and the syntax errors only very few. Is there a way to force awstats to ignore the syntax errors and just log what it can understand?

     
    • Laurent Destailleur (Eldy)

      ERROR! The markdown supplied could not be parsed correctly. Did you forget to surround a code snippet with "~~~~"?

      I'am afraid no. Do you mean AWStats stop completely when minor error is
      found or it just ignore the error ?
      
      
      2014-05-31 12:43 GMT+02:00 Tony G <tonjg@users.sf.net>:
      
      > I'm running awstats on a centos 5 machine and I'm impressed with it. For
      > email stats it works with /var/log/maillog but I'd like to include the
      > older rotated maillogs such as /var/log/maillog.1, /var/log/maillog.2 etc...
      > Problem is these older rotated maillogs contain minor syntax errors here
      > and there and awstats won't process them. The rotated logs are quite big
      > and the syntax errors only very few. Is there a way to force awstats to
      > ignore the syntax errors and just log what it can understand?
      >
      >
      > ---
      >
      > [ignore syntax errors in mail logs](
      > https://sourceforge.net/p/awstats/discussion/43428/thread/ea5fd381/?limit=25#e3b5
      > )
      >
      >
      > ---
      >
      > Sent from sourceforge.net because you indicated interest in <
      > https://sourceforge.net/p/awstats/discussion/43428/>
      >
      > To unsubscribe from further messages, please visit <
      > https://sourceforge.net/auth/subscriptions/>
      >
      >
      
      
      -- 
      Laurent Destailleur (alias Eldy)
      ------------------------------------------------------------------------------------
      Social networks of my OpenSource projects:
      Dolibarr Google+: https://plus.google.com/+DolibarrOrg/
      Dolibarr Facebook: https://www.facebook.com/dolibarr
      Dolibarr Twitter: http://www.twitter.com/dolibarr
      AWStats Google+: https://plus.google.com/+AWStatsOrgPoject/
      AWStats Facebook: https://www.facebook.com/awstats.org
      AWStats Twitter: http://www.twitter.com/awstats_project
      
       

Log in to post a comment.