Change variable from log to status