[logging] added logging to apiservercomponent;