I know that writing to log files is hard drive intensive. I also know that the preferred method is to write to a database
No. Databases are far more disk intensive than logging; they use vastly higher disk bandwidth, and depending on the database, often use lots of disk seeks too.