Re: [squid-users] RE: Anacron log entries

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 14 May 2010 17:32:05 +1200

Simon Brereton wrote:
>> From: Henrik Nordström [mailto:henrik_at_henriknordstrom.net]
>> Sent: Wednesday, May 12, 2010 4:06 PM
>>
>> ons 2010-05-12 klockan 14:40 +0200 skrev Simon Brereton:
>>
>>> /etc/cron.daily/logrotate:
>>> 2010/05/05 07:35:20.152| aclParseUserList: parsing user list
>>> 2010/05/05 07:35:20.152| aclParseUserList: parsing user list
>> Looks like debug output. What is your debug_options directive set to?
>
> 1245 # TAG: debug_options
> 1246 # Logging options are set as section,level where each source file
> 1247 # is assigned a unique section. Lower levels result in less
> 1248 # output, Full debugging (level 9) can result in a very large
> 1249 # log file, so be careful. The magic word "ALL" sets debugging
> 1250 # levels for all sections. We recommend normally running with
> 1251 # "ALL,1".
> 1252 #
> 1253 #Default:
> 1254 # debug_options ALL,1
> 1255 debug_options all,2
>
> I had it as ALL, but when I increaded it to ALL,9 to do some debugging, nothing extra appeared in the logs. Google pulled up someone with the same issue - or maybe I saw it go by on the list - that writing it as all would fix that (but I'd already solved my issue).
>
> Anacron emails me these lines whether it's ALL or all..
>
> Simon
>
>

Well, there you go. Debug level #2 is full of debugging traces.

FWIW:
  level 0 - critical failure messages.
  level 1 - warnings and important notices
  level 2 thru 9 - debug traces (section specific)

This is why the recommended level is 1 and not 2 or higher.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Fri May 14 2010 - 05:32:15 MDT

This archive was generated by hypermail 2.2.0 : Mon May 17 2010 - 12:00:05 MDT