fix issue #139: use parent logger to print log to avoid potentially nullized logger