Wrap logger to only use chef logger if chef is around
Merge commit 'd880c07f4412e0901624f754dd81ea8df68687ce' into develop