I have a serious problem in logging