Removes logging error

Modifies some code that didn't track a change from IPython 2.0 to 2.1, and was causing a harmless but annoying error.