Added logging with log4net.

Every restore is logged.
Every error is logged.