logging error and jk var