Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 19th, 2007, 08:44 AM
ravish007 ravish007 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 ravish007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 2 sec
Reputation Power: 0
User logging...

I'm about to add logging features into my webapplication which is basically querying database and keyword indexes. I will maintain user logs associated to user profiles. I was wondering what the best way would be to store the logs. Currently these are stored in XML files but I presume a database solution is better? How are user profiles and logs maintained usually? Amazon and many other big shopping sites must have implemented some very efficient method I guess, any one can shed light on this or talk about what architecture you implemented and what decisions you took...

Reply With Quote
  #2  
Old April 25th, 2007, 07:12 PM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Click here for more information
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 549 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 7 h 3 m
Reputation Power: 4
logging

Hi ravish007, welcome to the forums,
Since you have access to a database I would probably log to a table preferably in another database (security precaution) if I were you.
It depends on what and how much you're logging, what, how and how often you plan on using it, and what you're preferences are.
Writing to log files is OK as long as you can depend on the permissions allowing it. (same can be said about db server reliability I guess). Or you could even email them to yourself if you just wanted to know about stuff right away.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > User logging...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT