473,394 Members | 1,663 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Where to create application logs from?

I need to create application logs where everything that is done is logged to
some sort of storage space (sql, xml, or whatever). The log would be used to
track activities in the admin control pannel of the website. Examples would
be Adding, editing and deleting news, events, signing in/out and so on.
Should I be doing this at the sql server level or should I be doing this at
the application level. I have an sql error log in the database (at the
database level) that requires a person to actually log into the server to
see the errors logged into the table. Should I consider making this
available in the application as well?

Oct 29 '08 #1
1 1027
On Wed, 29 Oct 2008 15:04:32 +0100, Andy B <a_*****@sbcglobal.netwrote:
Should I be doing this at the sql server level or should I be doing this
at the application level.
It really depends on what you a trying to solve. If you need to log only
database activity you will propably want to do some research on Sql Server
auditing, and you should be able to find some "automagic" way of logging
everything in the database:

http://www.google.com/search?hl=en&q...erver+auditing

If you, on the other hand, want some more specilized logging scheme where
you explicitly define what to be logged and when to log it, it might be
better to implement the logging at the application side. Have a look at
the libraries "log4net" and "nlog" if you want to do application side
logging.

--
Joern Schou-Rode
http://malamute.dk/
Oct 29 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Russell E. Owen | last post by:
I'm writing a cross-platform app. Presently it runs on unix and MacOS X, but eventually I'd like to get it working on Windows (nothing older than 2000). For unix and MacOS X I store settings in...
0
by: Gianluca_Venezia | last post by:
I'm entering in MySql world and I have some issue to solve. I'm not finding a very well solution about the distribution of application upgrade. I use a FE MSaccess-based, and I use a...
2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
18
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is...
9
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
9
by: Steve Buster | last post by:
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1...
4
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session -...
4
by: Mike Schilling | last post by:
We have a C# application running under ASP.NET. It wasn't written using any VS.NET magic; all of the call the System.Web are made explicitly. It uses ..NET 1.1; no other version of the framework...
3
raveendrabikkina
by: raveendrabikkina | last post by:
3087 / 3126 02/25 10:42:08 info Recovering 1 session(s) 3088 / 3126 02/25 10:42:08 warning Deployer Service failed to deploy file:/opt/jrun4/servers/cpbepost/logs/ 3089 / 3126...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.