Fixed constructor in logging