What you could always do also ... get an eggdrop bot, run the eggdrop bot out of a webhosting account (if you can swing it with the company), and make it so the bot runs at
www.domain.com/eggdropbot/ ... then what you could do is create a simple script to simply read the log file the eggdrop bot creates (as you can set the options for the eggdrop bot to trim the files automatically).
This will be the most feasable way to do this, or I think it would be. Creating a bot to do this and type !backlog would be a little much, especially considering you'd have to run that bot all the time. It would be much easier to do it this way, plus it's much less to put together ... just a few lines for a script.