getting link by id, logback