change logs api to common library