Re: Log files

From: Date: Wed, 02 Jul 2008 21:21:00 +0000
Subject: Re: Log files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-276234@lists.php.net to get a copy of this message
On Wednesday 02 July 2008 22:36:24 Mark Bomgardner wrote: > I am writing an application in which I want to create log files. I am > weighing the difference between using text files and using a database to > house the data. It appears to me that there is really no advantage either > way or is there? There are pros and cons to both methods, but I am > concerned about opening and closing a text file some many times that it may > cause and issue. The file may be opened and closed 1,000 or more times a > day. > > > > Opinions please.. for the ease of it, I would go for the database. There is of course the details regarding the rest of the site to take into consideration.... damn database is easy... <- take this one and go for files if not sustainable enought. > > > > markb -- --- Børge Holen http://www.arivene.net

« previous php.general (#276234) next »