Add some logging stuff.
Undo logging.