nsd.el lets you tail AOLServer error logs within Emacs. It performs
some simplifications on the contents of the log files to increase
readability, provides colorful highlighting of the error log and
lets you extract SQL queries with one keystroke.
The extracted queries are put both into a special buffer and on
the kill-ring, so that running a query only requires a yank in
your SQL*Plus buffer.