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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 01-18-2010, 12:45 PM   #1
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
:stop Apache Error Log

Anyone know how to turn this off for good? I've commented it out in the conf file, but it still comes back and gets overloaded with messages.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-18-2010, 01:27 PM   #2
Lassitor
Confirmed User
 
Lassitor's Avatar
 
Join Date: Jun 2009
Posts: 278
Send it to > DEV NULL
Lassitor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-18-2010, 03:29 PM   #3
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by Lassitor View Post
Send it to > DEV NULL
Can you you give me the command I would use to achieve this?
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-18-2010, 03:32 PM   #4
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
ErrorLog /dev/null ?
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-18-2010, 03:38 PM   #5
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
I went ahead and used this ^^^ since that is what most people say when I looked it up on google. Thanks! Seems to be working.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-18-2010, 04:56 PM   #6
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
Quote:
Originally Posted by JoesTraffic View Post
Anyone know how to turn this off for good? I've commented it out in the conf file, but it still comes back and gets overloaded with messages.
Maybe you should try to fix the errors. Ignoring them can be a very bad idea.
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-18-2010, 05:26 PM   #7
rob04
Confirmed User
 
Join Date: Sep 2004
Posts: 150
Quote:
Originally Posted by CodeR70 View Post
Maybe you should try to fix the errors. Ignoring them can be a very bad idea.
Agreed, if it's taking up too much space or logging too much you change the level of logging if the errors aren't realistic to fix.
rob04 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 10:20 AM   #8
fatfoo
ICQ:649699063
 
Industry Role:
Join Date: Mar 2003
Posts: 27,763
JoesTraffic is good quality traffic. No doubt. I used to get 250%+ productivity from it. But, that was a few years ago.
__________________
Send me an email: [email protected]
fatfoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 11:28 AM   #9
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by CodeR70 View Post
Maybe you should try to fix the errors. Ignoring them can be a very bad idea.
They're not errors. Most of the messages are just missing files like favicon.ico.

I however have fixed this problem by pointing the error log to dev null.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 11:31 AM   #10
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by rob04 View Post
Agreed, if it's taking up too much space or logging too much you change the level of logging if the errors aren't realistic to fix.

As I said in my first post, the error log was still recording even though I turned it off. It shouldn't have been logging any messages at all.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 11:45 AM   #11
maxprohost
Registered User
 
maxprohost's Avatar
 
Join Date: Nov 2009
Posts: 93
Try setting the error log to clear itself every so often in the cron. prevents the log from bloating, but still keeps it around just in case.
__________________
The Adult Hosting Specialist! MaxProHosting.com
$89 Managed Dedicated Servers, $6.95 Virtual w/ cPanel
No yearly contracts, Just honest low monthly pricing 877.814.4300
maxprohost is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 11:54 AM   #12
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by maxprohost View Post
Try setting the error log to clear itself every so often in the cron. prevents the log from bloating, but still keeps it around just in case.
It was suppose to be set to off, which is what the problem was.... it wouldn't turn off.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 02:05 PM   #13
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
Quote:
Originally Posted by JoesTraffic View Post
It was suppose to be set to off, which is what the problem was.... it wouldn't turn off.
Joe, I know these things can be very annoying, but there are times when you really need the error log. Switching it on when you need it might be too late to really try to track down an issue.

Another thing which is a good option is to rotated your logs. This can be based on size or based on a time period. You can also do this with your access log or other log files. In this way you avoid having the logs grow and grow but you still keep the advantage of having them around when you need to. In addition you can have your inactive logs compressed so they don't eat your drive space. All this is a fully automated process. So you or your admins have to set it up once and after that you never have to worry about them anymore.

If you notice something in your log file you think is fixable but you dont know how then maybe post some log lines here. If it PHP related or such then maybe I can help.

Anyway, just a few thoughts. Feel free to drop me a line private if you prefer.
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 03:02 PM   #14
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by CodeR70 View Post
Joe, I know these things can be very annoying, but there are times when you really need the error log. Switching it on when you need it might be too late to really try to track down an issue. Another thing which is a good option is to rotated your logs. This can be based on size or based on a time period. You can also do this with your access log or other log files. In this way you avoid having the logs grow and grow but you still keep the advantage of having them around when you need to. In addition you can have your inactive logs compressed so they don't eat your drive space. All this is a fully automated process. So you or your admins have to set it up once and after that you never have to worry about them anymore. If you notice something in your log file you think is fixable but you dont know how then maybe post some log lines here. If it PHP related or such then maybe I can help. Anyway, just a few thoughts. Feel free to drop me a line private if you prefer.


I have it taken care of, I've been a web developer since '94 (C/C++, Perl, PHP, etc). This is however the first time the error log has refused to turn itself off when I needed it to. In the past, I've always left it on so I could debug my code. However, my system (which I coded) is extremely stable and if there is a problem, I'll know how to fix since I code everything long hand.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 04:06 PM   #15
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
Quote:
Originally Posted by JoesTraffic View Post
I have it taken care of, I've been a web developer since '94 (C/C++, Perl, PHP, etc). This is however the first time the error log has refused to turn itself off when I needed it to. In the past, I've always left it on so I could debug my code. However, my system (which I coded) is extremely stable and if there is a problem, I'll know how to fix since I code everything long hand.
Weird, it's a real mystery to my that you want to switch it off especially knowing your experience now. Anyway, you know best. ;)
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 04:47 PM   #16
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by CodeR70 View Post
Weird, it's a real mystery to my that you want to switch it off especially knowing your experience now. Anyway, you know best. ;)


I'm not ignoring my own issues, you can't expect people to do the same thing as you.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 05:09 PM   #17
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
Quote:
Originally Posted by JoesTraffic View Post
I'm not ignoring my own issues, you can't expect people to do the same thing as you.
True, but a 26 years experience developer who want to switch of an overloaded error log and then claims to have a stable system and know how to fix issues is not really convincing to me.
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 05:20 PM   #18
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
Quote:
Originally Posted by CodeR70 View Post
True, but a 26 years experience developer who want to switch of an overloaded error log and then claims to have a stable system and know how to fix issues is not really convincing to me.

You basically just said the same thing to me, but with different words. Why are you wasting your time on this?
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 01-20-2010, 05:34 PM   #19
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
Quote:
Originally Posted by JoesTraffic View Post
You basically just said the same thing to me, but with different words. Why are you wasting your time on this?
Yeah, I wondering myself as well. The thing is, if you had spend 10 seconds on Google you would not have wasted all our time. People tried to help you in this thread but your ego did not like it very much.
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.