Log4Net is a flexible and powerful logging library for .NET. With it, you can output logged information to a database, text file or a number of other "adapters".

There are currently three opportunities for errors to be logged in AMF.NET. One if deserialization fails, one of execution fails and one if serialization fails. If an exception is thrown during execution, the onStatus handler in flash will be executed. However, if an error occurs in serialization or deserialization, the cause of the error is effectively lost, unless you enable logging. Future versions of AMF.NET will probably introduce additional informative logging.

Click here for a sample web.config that'll log to an SQL Server database (fill in the connection information and create the table on your database)

The Log4Net homepage is by far the best place to get information.
How To
get started
› enable log4net
input typed objects
BitmapReconstitutor