Use python logging class

Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Merge pull request #2 from pabelanger/logging

Use python logging class