Re: no logs

From: Daniel Schild <[email protected]>
Date: Wed, 19 Aug 1998 07:04:49 +0200

Evren Yurtesen wrote:
>
> hello,
> I do not want my squid cache to create any logs!
> or even cache_swap log!
> I won't use my cache to store objects...
> how may I do?

# TAG: cache_access_log
# Logs the client request activity. Contains an entry for
# every HTTP and ICP request received.
#
#cache_access_log /usr/local/squid/logs/access.log
-> just enter /dev/null as the file name:
cache_access_log /dev/null

# TAG: cache_log
# Cache logging file. Set logging levels with "debug_options"
below.
#
#cache_log /usr/local/squid/logs/cache.log
-> just enter /dev/null as the file name:
cache_log /dev/null
But it's not recommended to not have the cache_log file, 'cause it's
hard to find errors and stuff this way :) (/dev/null isnt easy to read
using tail and related)

# TAG: cache_store_log
# Logs the activities of the storage manager. Shows which
# objects are ejected from the cache, and which objects are
# saved and for how long. To disable, enter "none".
#
#cache_store_log /usr/local/squid/logs/store.log
-> as the doku says:
cache_store_log none

# TAG: cache_swap_log
# Location for the cache "swap log." This log file holds the
# metadata of objects saved on disk. It is used to rebuild the
# cache during startup. Normally this file resides in the first
# 'cache_dir' directory, but you may specify an alternate
# pathname here. Note you must give a full filename, not just
# a directory.
#
#cache_swap_log
You should not delete it 'cause the cache depends on the data written to
this file. size is related to cache contents.

-- 
Daniel Schild
Service- and Applicationdevelopement
Teleport Sachsen-Anhalt GmbH | RegioCom GmbH
Tel:    ++49 39203 8 3300    | ++49 39203 8 2030
Fax:    ++49 39203 8 3399    | ++49 39203 8 2031
E-Mail: schild@tsa.de        | schild@regiocom.net
S-Mail: Steinfeldstr. 3, 39179 Barleben, Germany
Received on Wed Aug 19 1998 - 22:35:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:39 MST