EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Saturday 28 December 2024, 03:31:35 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Visit the Official Endian Reference Manual
HERE
14262
Posts in
4377
Topics by
6517
Members
Latest Member:
Sandro
Search:
Advanced search
EFW Support
Support
General Support
Disable logging in Endian
0 Members and 0 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Disable logging in Endian (Read 9583 times)
fqureshi
Sr. Member
Offline
Posts: 126
Disable logging in Endian
«
on:
Wednesday 03 August 2011, 03:23:34 pm »
Dear All,
I want to disable logging under EFW for every service e.g. havp, squid, clamav etc etc...
Any help would be much appreciated..
Logged
fqureshi
Sr. Member
Offline
Posts: 126
Re: Disable logging in Endian
«
Reply #1 on:
Saturday 06 August 2011, 11:26:12 am »
Following link shows how to create custom cron jobs under Endian appliance.
kb.endian.com/entry/43/
I am running following cron job under /etc/anacron.daily/
#!/bin/sh
/usr/sbin/squid -k rotate
/bin/cat /dev/null > /var/log/httpd/httpd_access
/bin/cat /dev/null > /var/log/httpd/error_log
/bin/cat /dev/null > /var/log/httpd/ssl_engine_log
/bin/cat /dev/null > /var/log/httpd/ssl_request_log
/bin/cat /dev/null > /var/log/squid/access.log
/bin/cat /dev/null > /var/log/squid/useragent.log
/bin/cat /dev/null > /var/log/squid/access.log_short
exit 0
Above are the log files which grow very frequently. I also need monitoring of the web pages accessed throughout the day thus while work time I monitor it and then this cron job truncate all the mentioned log files to remove all the entries. This helps in not taking up all the space of /var/log
Otherwise my endian box /var/log filled within one week. This results in slow service and squid never keeps running. After few minutes it is killed as there is not enough space to write logs.
I hope this will be helpful for others having the same issue.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.063 seconds with 19 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com