hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Logging 404s: Email vs Database INSERT
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Logging 404s: Email vs Database INSERT

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-29-2005, 05:38 PM
jojo235 jojo235 is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Posts: 89

Logging 404s: Email vs Database INSERT


Currently I email myself everytime a 404 is generated, which can be up to a couple of hundred times a day.

Would it be more efficient (memory/cpu) to do an INSERT to MySQL table to log these errors? Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 04-29-2005, 07:15 PM
innova innova is offline
Web Hosting Master
 
Join Date: Dec 2002
Posts: 1,300
Sure.

This is kind of a silly question in a way. Unless you are running your site on a P133 with 32megs of ram it really shouldnt matter anyway.

Consider that apache logs each access anyway. What does that generate, like 1kb/sec of I/O? Insignificant.

__________________
"The only difference between a poor person and a rich person is what they do in their spare time."
"If youth is wasted on the young, then retirement is wasted on the old"

Reply With Quote
  #3  
Old 04-30-2005, 04:35 PM
linux-tech linux-tech is offline
<?require_once("life")?>
 
Join Date: Sep 2002
Location: inside your network
Posts: 9,548
it's really relevant to how you want to access these. Personally, I find it easier dealing with errors through a database than to deal with the errors through email. If you've got a large, popular site, dealing with them through email would result in quite a bit of spam anyways.

__________________
Linux Tech Networks Reliable, Affordable Linux administration and monitoring since 2002

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
50e5d35d-3acc-467e-8512-64aa45a799bf Listing 2013-03-05 18:24:48
50dae337-dae4-44bb-8bd2-23d945a79962 Listing 2013-03-05 18:24:34
50d85d19-e5a4-42c7-98df-693445a79943 Listing 2013-03-05 18:24:29
50b3d5d1-7a6c-4bc4-aa05-2d0445a799bf Listing 2013-03-05 18:23:26
Cloud Host Savvis Extends Cloud-Based Database Platform to European Customers Web Hosting News 2012-10-12 11:06:37


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?