move logging into dlog.ch, added dlog_init, dlib logging is removed