make debug logging a bit more efficient; remove deprecated safe=True args
Merge pull request #2 from lbjay/master

make debug logging a bit more efficient; remove deprecated safe=True arg...