tried to enable logging but failed