==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=8910

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 8910
           Summary: SARG uses only the last access.log: rotated files are
                    named unexpectedly
    Classification: Contribs
           Product: SME Contribs
           Version: 9.0
          Hardware: ---
                OS: ---
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-sarg
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

I noticed that Sarg missed data in its analysis.

This is because Sarg expects archived log files to be named like

*SME8*

[root@proxy2 ~]# ll /var/log/squid -lh
totale 21M
-rw-r----- 1 squid squid 581K 16 apr 12:29 access.log
-rw-r----- 1 squid squid  23K 12 apr 04:02 access.log.1.gz
-rw-r----- 1 squid squid  35K  5 apr 04:02 access.log.2.gz
-rw-r----- 1 squid squid  41K 29 mar 04:02 access.log.3.gz
-rw-r----- 1 squid squid 2,2M 22 mar 04:02 access.log.4.gz
-rw-r----- 1 squid squid 3,0M 15 mar 04:02 access.log.5.gz


instead, on the new installation *SME9* they are named

[root@xxx ~]# ll /var/log/squid
total 73760
-rw-r----- 1 squid squid 48085906 Apr 16 17:26 access.log
-rw-r----- 1 squid squid  1399311 Mar 15 03:43 access.log-20150315.gz
-rw-r----- 1 squid squid  4180100 Mar 22 03:35 access.log-20150322.gz
-rw-r----- 1 squid squid  6619389 Mar 29 03:06 access.log-20150329.gz
-rw-r----- 1 squid squid  6685243 Apr  5 03:11 access.log-20150405.gz
-rw-r----- 1 squid squid  5758931 Apr 12 03:43 access.log-20150412.gz

so the sarg cron does not find any access.log files except the first.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to