Trying to print some info in error  log