|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Server log >2 gig how do I turn logging off? [pls help]
our gallery server log is slowing down due to 2gig+ .com.log files, I need to turn it off and the admin is gone, with my lil knowledge if del the file rebooted and its up and running again
removed the --log command from cron but its still running and getting pretty big and fast so - pls - who can tell me how to turn this loggin off? thanks -Bob
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Mar 2002
Posts: 574
|
I use: rm *.*
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Not sure about turning the logging off, but can't you just roll the log file over to a backup and empty the current one?
:> logfile.log
__________________
Your post count means nothing. |
|
|
|
|
|
#4 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: May 2004
Location: ...
Posts: 761
|
if apache, open up httpd.conf and comment the error_log global or under virtual directory if your server is setup that way...
__________________
Programmer ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com |
|
|
|
|
|
#6 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: May 2004
Location: ...
Posts: 761
|
yea, whereever you see your logfile name and error_log in front of it, comment the biatch and restart the webserver... should stop
__________________
Programmer ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Oct 2005
Location: Charlotte, NC
Posts: 908
|
I wouldnt recommend turning off logging. If you ever experience any problems you'll be in the dark. Whether people are siphoning your bandwidth, trying to compromise your site, or theres just something wrong with the web server, you simply will not be able to find out without your logs. You can configure logrotate wich should go in and archive your log files everyonce in a while and start with fresh ones, its usually run by a cron job. Then if you need to you can just go delete the older log files if you like.
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Jan 2005
Location: new york city
Posts: 158
|
cat /dev/null > logfile
|
|
|
|
|
|
#10 |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
hmm its set in modules on the server so I gotta check which module does that... damn thats gonna takes ages... think ill crontab a RM every day or so...
any other 2 cents?
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
#11 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Feb 2004
Location: balmer
Posts: 436
|
DO NOT REMOVE THE LOG FILE WHILE HTTPD is still running......
If you can't figure it out in httpd, i'd reccomend : 1) Stop apache, remove logfile, symlink from previous log area to /dev/null 2) Set a cron that Stops apache, removes logfile, restarts apache
__________________
oOooooooOOo |
|
|
|
|
|
#13 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
I know its a luxery problem but we had 10mbps now 20 and its on 20 8 outa 12 hours so basically too low already. Ive checked logs and its all affiliates pushing our galleries, not even movie, just pics. Ive thought bout the crontab but that means stop start apache every day or so, maybe even a reboot, Id rather have logrotate handle that if possible... any ideas? thanks!
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#14 |
|
Confirmed User
Join Date: Feb 2004
Location: balmer
Posts: 436
|
Daily call to a cron
apachectl stop mv current_log date.log.txt apachectl start You'll never even notice it, and you'll get all your logs in nice little piles so you have them if need be.... Delete the really old ones.
__________________
oOooooooOOo |
|
|
|
|
|
#15 |
|
Programming King Pin
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
|
Wait for the admin, it's the best solution :D
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress! |
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Feb 2002
Location: Vegas
Posts: 5,741
|
we delete our logs and run wusage every 6 hours. They are about 1.3GB every 6 hours.
HQ
__________________
![]() RecurCash.com - Averaging $38/sale with 60% revshare in the first 4 months alone! Convert your TEEN traffic today @ better than 1:500 guaranteed. ICQ me: 18287590! |
|
|
|
|
|
#17 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#18 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#19 |
|
Confirmed User
Industry Role:
Join Date: Aug 2002
Posts: 9,752
|
Just comment out the log linein the apache httpd.conf file right?
#lah dwhs.com.log Something like that. |
|
|
|
|
|
#20 | |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
Quote:
can you hit me up with a 20mpbs p4 price btw? bob AT dutchteencash DOT .com thanks
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
|
#21 |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
bump any other ideas?
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|