Package: c-icap
Version: 1:0.1.6-1
Severity: minor
Hello,
I noticed that logs in /var/log/c-icap do not get rotated. So i prepared
logrotate script.
Well it is based on logrotate script from squid. here it is:
#
# Logrotate fragment for c-icap.
#
/var/log/c-icap/*.log {
daily
compress
delaycompress
rotate 2
missingok
nocreate
sharedscripts
postrotate
test ! -e /var/run/c-icap/c-icap.pid || echo -n "reconfigure" >
/var/run/c-icap/c-icap.ctl
endscript
}
Please include it in the package.
Regards
Vladislav Kurz
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/12 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages c-icap depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libdb5.1 5.1.25-11 Berkeley v5.1 Database Libraries [
ii libicapapi0 1:0.1.6-1 ICAP API library
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
c-icap recommends no packages.
Versions of packages c-icap suggests:
ii libc-icap-mod-clamav 1:0.1.6-1 C-ICAP Antivirus Service for c-ica
pn libc-icap-mod-urlchec <none> (no description available)
ii squid3 3.1.6-1.2+squeeze1 A full featured Web Proxy cache (H
-- Configuration Files:
/etc/c-icap/c-icap.conf changed:
PidFile /var/run/c-icap/c-icap.pid
CommandsSocket /var/run/c-icap/c-icap.ctl
Timeout 300
MaxKeepAliveRequests 100
KeepAliveTimeout 600
StartServers 3
MaxServers 10
MinSpareThreads 10
MaxSpareThreads 20
ThreadsPerChild 10
MaxRequestsPerChild 0
Port 1344
User c-icap
Group nogroup
ServerAdmin [email protected]
ServerName YourServerName
TmpDir /tmp
MaxMemObject 131072
DebugLevel 1
ModulesDir /usr/lib/c_icap
ServicesDir /usr/lib/c_icap
TemplateDir /usr/share/c_icap/templates/
TemplateDefaultLanguage en
LoadMagicFile /etc/c-icap/c-icap.magic
RemoteProxyUsers off
RemoteProxyUserHeader X-Authenticated-User
RemoteProxyUserHeaderEncoded on
ServerLog /var/log/c-icap/server.log
AccessLog /var/log/c-icap/access.log
Service echo srv_echo.so
Include srv_clamav.conf
/etc/default/c-icap changed:
START=yes
DAEMON_OPTS=""
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]