Apply patch suggested in https://code.google.com/p/log4go/issues/detail?id=15