Im building a very small website which has an admin and public area

what i want to know is

your prefence when it comes to reporting or logging

ie. when admin or user insert, update, delete, from and to the database

changes will be written to either a database or a text file

which one do you prefer?

which one is better?

why?

thanks!

Recommended Answers

If you use a tool like log4php for example, you define in your configuration file where the logging has to go. So if it some point you no longer want to log to file, you just change the configuration.

Personally I prefer database, because it makes it easier to …

Jump to Post

All 2 Replies

If you use a tool like log4php for example, you define in your configuration file where the logging has to go. So if it some point you no longer want to log to file, you just change the configuration.

Personally I prefer database, because it makes it easier to filter to specific events.

makes sense! what about the others? whats your preference?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.