Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Samsung, carriers tout first Tizen mobes for late 2013
Build your own supercomputer out of Raspberry Pi boards
Pidora, Raspberry Pi’s Unfortunately Named Fedora Remix
Dietrich Schmitz Joins ECT News Network
BeagleBone Black ships, climbs Device Tree with Linux 3.8
Digia launches Boot to Qt technology preview
Tripwire on why Red Orchestra 2 and Rising storm won't come to Linux
Zorin OS 7 Release Candidate out now
Command Line Calculator bc – 11 Extremely Useful Examples
Linux Professional Institute Hosts Exam Labs at SouthEast LinuxFest 2013
more
Recent comments
Instead of copying and
1 day 2 hours ago
 Correction: fro m_address=`
1 day 9 hours ago
tuto thanks
1 day 13 hours ago
WFM
1 day 14 hours ago
Re: PHP now has mail logging built-in
1 day 23 hours ago
Success!
2 days 8 hours ago
Installation successful, but I can't receive any mail...
2 days 9 hours ago
Security
2 days 13 hours ago
I skimmed through the steps,
2 days 17 hours ago
Thanks
2 days 18 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 2
>
General
How reduce file size of logs?
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
1st December 2010, 10:27
esezako
Senior Member
Join Date: Dec 2008
Posts: 163
Thanks: 14
Thanked 0 Times in 0 Posts
How reduce file size of logs?
Hi, many of my sites generates a web.log of 800Mb every month. How can i reduce this size? Is any bad function?
Thank's
esezako
View Public Profile
Send a private message to esezako
Find all posts by esezako
Sponsored Links
#
2
2nd December 2010, 15:25
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
If your sites have so many accesses, then you can't do anything about it. But you can delete old logs (from previous months) that you don't need anymore.
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
3
2nd December 2010, 16:52
esezako
Senior Member
Join Date: Dec 2008
Posts: 163
Thanks: 14
Thanked 0 Times in 0 Posts
Any script to automatic delete the logs X time old?
I think is a usefull feacture.
Thanks for your help
esezako
View Public Profile
Send a private message to esezako
Find all posts by esezako
#
4
3rd December 2010, 17:03
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
You can do this with the find command. There's an example script in this tutorial:
http://www.howtoforge.com/back_up_my..._interruptions
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
FreeRadius + MySQL working, but I don't know how to customise SQL queries
awe
Installation/Configuration
4
4th April 2010
23:28
debian etch courier pop3 issue
docean
Installation/Configuration
6
20th March 2008
15:38
spamassasin/clamAV not working
Daisy
Installation/Configuration
32
15th February 2007
00:09
jamed up my table borders??
Boon-Dog-Danny
Installation/Configuration
5
23rd September 2006
16:12
site - databases
trueshanti
Installation/Configuration
20
26th May 2006
01:28
All times are GMT +2. The time now is
08:35
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 2 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 17 hours ago
2 days 18 hours ago