a long time ago I made a sinple flash chat and it has been downloaded over 25,000 times at www.flashkit.com
I evolved this into a mysql based version of the flash chat and added some basic admin functions
the admin is simple saves chat logs like so:
Year/Week Number Of Messages Number Of Users Operations
200436 43 15 Delete View Archive
200435 55 19 Delete View Archive
200434 32 15 Delete View Archive
200433 29 13 Delete View Archive
200432 48 17 Delete View Archive
200431 33 15 Delete View Archive
200430 14 4 Delete View Archive
7 254 98 (totals)
the mysql version can be downloaded here
there is also the text file version there.
if thats all you need, there you go. if you desire more...it is open source..the .fla files and php scripts are also included in the downloads.