Mornin' -- You might check Log::Log4perl on CPAN. It will most likely do what you want might out of the box (the Easy Mode) and will make your life a lot easier by taking care of such 'trivia' as time-stamps, severity-levels, etc.
B On Tue, Apr 26, 2011 at 7:49 AM, Khabza Mkhize <khabza....@gmail.com> wrote: > I have different Web based scripts when they run update SQL Data Base. Now > I > need to audit every update sql in my database and store all logs to data > file. > I dont mind about size of a file since I will create different file foreach > item Audited. I will be writing to a file username, date/time, item changed > > regards > Khabazela > http://www.greenitweb.co.za > -- Bob Goolsby bob.gool...@gmail.com