fix npe when log is not avail.
fix npe when log is not avail.

oblac/jodd,oetting/jodd,mosoft521/jodd,mtakaki/jodd,wsldl123292/jodd,Artemish/jodd,vilmospapp/jodd,mtakaki/jodd,mosoft521/jodd,oblac/jodd,southwolf/jodd,Artemish/jodd,javachengwc/jodd,wsldl123292/jodd,vilmospapp/jodd,javachengwc/jodd,oblac/jodd,tempbottle/jodd,southwolf/jodd,mtakaki/jodd,mohanaraosv/jodd,tempbottle/jodd,oetting/jodd,wjw465150/jodd,javachengwc/jodd,southwolf/jodd,vilmospapp/jodd,wjw465150/jodd,mohanaraosv/jodd,vilmospapp/jodd,mohanaraosv/jodd,tempbottle/jodd,mohanaraosv/jodd,oblac/jodd,wsldl123292/jodd,Artemish/jodd,wjw465150/jodd,Artemish/jodd,wsldl123292/jodd,mosoft521/jodd,Artemish/jodd,southwolf/jodd,mosoft521/jodd,oetting/jodd,mtakaki/jodd,vilmospapp/jodd,javachengwc/jodd,oetting/jodd,tempbottle/jodd,wjw465150/jodd