Snow Leopard: Add finalization of log