new logger model and log api requests