I've been wondering, as I build up my most recent application, which way the developers here on PHPBuilder prefer to store the error codes and information that their application(s) may generate.
Typically I just have my application create new log files based on date then write all errors to that log file. Next day -> repeat.
But lately I've been thinking of logging all that information to a DB table so I could run reports against it later without having to do things like "find" and string searches. Seems like it is a more practical approach then creating a bunch of .log files that have to be purged or rotated.
Thoughts? Just looking for some input.