netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Logging for multiple clients in netopeer

Open bvirmani2022 opened this issue 2 years ago • 3 comments

Hi, Currently the logs in netopeer can be seen in the syslogs as ---- netopeer-server ----------

Is it possible to send logs to the syslogs for multiple clients as: -----netopeer-server1--------- -----netopeer-server2--------

From where can I differentiate and add appropriate checks for sending logs to syslogs in the above format

bvirmani2022 avatar Sep 28 '23 08:09 bvirmani2022

Not sure what you mean by "clients" but I can only think of NETCONF clients. Each has their own session, which is printed at the beginning of the message if applicable. You should be able to filter based on that.

michalvasko avatar Sep 29 '23 05:09 michalvasko

Yes, I m talking about the netconf clients only. But I want the syslog based on the netconf client user logged in and not with the session information of the client.

Is that possible?

bvirmani2022 avatar Oct 05 '23 05:10 bvirmani2022

No, it is not possible to change logging in any way. But like I said, you can use sessions, every NETCONF client has its own session.

michalvasko avatar Oct 05 '23 06:10 michalvasko