Improve logging in the RPC calls
Summary
The current logging in the RPC modules is quite limited and does not necessarily provide a useful information for debugging. Moreover, different parts of the system use different logging facilities, i.e. rpcsvc
uses directly syslog
while xHAL
and the RPC modules use log4cplus
).
What is the expected correct behavior?
An unified logging system throughout the RPC calls should be put in place. This logging system should also allow to configure the log level at run-time (log4cplus
naturally allows for it).
In addition to the technical merging, a few relevant logging statement could be added, such as which RPC methods are being called.