I assume the microservices will use gRPC to send their log entries to the centralized logging server. In that case I don't understand what you mean by "
how these logs would be returned by the server?". The centralized logging server would log to a logging backend.
Few questions:
- you will need to modify your microservices to insert the logging statements. I suppose that's ok?
- what do you want to log from your microservices? The inter-service calls or application state or something else?
- How are the microservices communicating - gRPC, REST or something else? Are you already using gRPC for something else?
- which language are the microservices written in?