Final compilation: logging working