added ip log for invalid job ids

Original code by Fredyy90