Koozali.org: home of the SME Server

[RESOLVED] Trouble with sarg and dansguardian

Offline Gert

  • ****
  • 208
  • +0/-0
    • http://www.huge.co.za
[RESOLVED] Trouble with sarg and dansguardian
« on: August 19, 2008, 12:43:04 PM »
Hi

Code: [Select]
sarglog squid
sarg
works fine and reports
Code: [Select]
SARG: Records in file: 11101, reading: 100.00%but
Code: [Select]
sarglog dansguardian
sarg
reports:
Code: [Select]
SARG: Records in file: 998, reading: 100.00%
SARG: No records found
SARG: End

I uninstalled sarg, removed all left over config files and reinstalled, but still no joy.

Can anyone point me in the right direction?
« Last Edit: August 20, 2008, 04:42:18 PM by Gert »

Offline dadoudidon

  • *
  • 84
  • +0/-0
Re: Trouble with sarg and dansguardian
« Reply #1 on: August 20, 2008, 03:17:45 PM »
in the dansguardian.conf file you must check that dansguardian is making log in squid format.
http://wiki.contribs.org/Dansguardian/ConfigFiles#Log_File_Format
Maybe it can be that!
David

Offline Gert

  • ****
  • 208
  • +0/-0
    • http://www.huge.co.za
[RESOLVED] Re: Trouble with sarg and dansguardian
« Reply #2 on: August 20, 2008, 03:56:41 PM »
Yes indeed. I changed the log file format from 1 to 3 and now its working.

Thank you very much.

Offline dadoudidon

  • *
  • 84
  • +0/-0
Re: Trouble with sarg and dansguardian
« Reply #3 on: August 20, 2008, 04:26:42 PM »
you're welcome