base common logging