Added logging to replace print statements for information and debugging output.
Authored by: marrin 2010-09-05
Parent: [r533]
Child: [r535]