Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve receiving server logging for ldmsend sessions #78

Open
akrherz opened this issue Nov 19, 2020 · 0 comments
Open

Improve receiving server logging for ldmsend sessions #78

akrherz opened this issue Nov 19, 2020 · 0 comments

Comments

@akrherz
Copy link
Contributor

akrherz commented Nov 19, 2020

I am using LDM 6.13.13 on RHEL8 64 bit. My usage scenario is to have clients out on the internet push data to my LDM server every minute with data from weather equipment. The clients use ldmsend to do this.

On the server side, for each ldmsend the following gets logged

20201119T152648.134997Z xxx[444490]       svc_tcp.c:readtcp:363               NOTE  EOF on socket 2
20201119T152648.135077Z xxx[444490]       one_svc_run.c:one_svc_run:96        NOTE  RPC layer closed connection on socket 2
20201119T152648.135102Z xxx[444490]       ldmd.c:runSvc:556                   NOTE  Connection with client LDM, xxx.xxx.xxxx.xxx, has been lost
20201119T152648.135147Z xxx[444490]       ldmd.c:cleanup:197                  NOTE  Exiting

This ends up creating lots of logging. It would be nice if there wasn't so much logging with these sessions, but I am unsure exactly what to suggest. Initially, it seems conflicting to see both EOF on socket 2 and RPC layer closed connection on socket 2. It seems like those messages could be combined? The message about the client connection being 'lost' doesn't seem accurate as the client cleanly closed the connection via RPC, right?

Thanks for your consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant