Hi was just wondering if anyone could help me.
I have a program that writes out logs from other files to two different file depending on what the log contains (basically if its an error or not). My question is would it better to store these logs like i am (in a file) or in a DB.
Other information that might help:
My program writes A LOT of messages out to these files and once the messages are in the file it doesn't change.
Later on i plan on reading them back in to another program to do some operations with the data. So does this change if i should use a file or not?
Last question: When using a file is it better to write out each message one at a time or store them and then write a group of them out?
Any help would be great thanks.