update logging to use python logging package.

converted strings to use u() for python 2/3 compatible unicode strings.