[squid-users] Empty Access.log

From: Carlos Simba�a <[email protected]>
Date: Tue, 11 Jan 2005 15:02:39 -0500

Hi , I have a problem. I have squid 2.5 stable 6 with squidGuard and
each week the access.log file is empty. but logrotate is cofigurated to
rotate in 1 month, my configuration file for squid is:

#debug_options ALL,2 33,2 28,9
http_port 3128
icp_port 3130
hierarchy_stoplist cgi-bin ?
mime_table /home/etc/squid/mime.conf
log_mime_hdrs on
acl ServerHTTPS urlpath_regex https://* https:// https
acl QUERY urlpath_regex cgi-bin ?
acl SercureHTTP dstdomain https://* https:// https
acl all src 0.0.0.0/0.0.0.0
acl noPagesCache url_regex "/home/etc/squid/cachePages"
acl NoDownloadIP src '/home/etc/squid/noDownloads_src'
always_direct allow noPagesCache
no_cache deny noPagesCache QUERY ServerHTTPS SercureHTTP
#icon_directory /usr/local/squid/share/icons
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563 81 10000
acl Safe_ports port 21 70 80 81 210 280 443 488 563 591 777 1025-65535
acl CONNECT method CONNECT
acl noDownloads urlpath_regex '/home/etc/squid/noDownloads_dst'
#no_cache deny all
#always_direct allow all
maximum_object_size 1024 KB
minimum_object_size 4 KB
ftp_sanitycheck on
hosts_file /home/etc/hosts
cache_mem 16 MB
ftp_passive on
ftp_user ftp@localhost
cache_mgr admin@localhost

header_access Accept-Encoding deny all

cache_peer 127.0.0.1 parent 8080 0 no-query default
acl ftp proto FTP
always_direct allow CONNECT
always_direct allow ftp
never_direct allow all

visible_hostname 200.107.35.36
acl interfaces dst 200.107.35.36 192.168.1.3 172.16.0.1 200.63.230.52
http_access allow interfaces

auth_param basic program /usr/lib/squid/pam_auth -1
auth_param basic children 1
auth_param basic realm Squid proxy-caching web server
acl usuarios proxy_auth REQUIRED
http_access allow usuarios
#Opciones DNS
dns_nameservers 127.0.0.1 63.84.236.34

delay_pools 1
delay_class 1 1
delay_access 1 allow all
delay_parameters 1 -1/-1

redirect_program /usr/local/bin/squidGuard -c
/home/etc/squid/squidGuard.conf
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny NoDownloadIP noDownloads
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
icp_access allow all
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir diskd /var/spool/squid 1600 16 256
cache_swap_low 60
cache_swap_high 70
cache_store_log none
log_fqdn off
http_access allow all
logfile_rotate 0
log_icp_queries off
buffered_logs off
emulate_httpd_log off
log_ip_on_direct off
log_mime_hdrs off
cache_effective_user squid
cache_effective_group squid
dns_timeout 10 minutes
negative_ttl 10 minutes
request_timeout 600 seconds
connect_timeout 90 seconds
extension_methods SEARCH SUBSCRIBE <searchrequest
ie_refresh on
prefer_direct on
error_directory /home/etc/squid/errors/en/
request_header_max_size 5 KB
extension_methods SEARCH SUBSCRIBE PROPFIND PROPATCH MKCOL POLL BCOPY
BPROPPATCH

and my logrotate.d/squid configuration file is:

/var/log/squid/access.log {
    monthly
    rotate 1
    compress
    notifempty
    missingok
    nosharedscripts
    copytruncate
}

in crond i don't have any "squid -k rotate"

Thanks

Carlos
Received on Tue Jan 11 2005 - 12:56:42 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST