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

procid not being set for tcp RFC_5425 syslog message #40

Open
KevUKHD opened this issue Jul 2, 2020 · 1 comment
Open

procid not being set for tcp RFC_5425 syslog message #40

KevUKHD opened this issue Jul 2, 2020 · 1 comment

Comments

@KevUKHD
Copy link

KevUKHD commented Jul 2, 2020

Hello,

I've encountered a problem that the procid is not being set correctly -> procid seems to be either empty or "-" where long is expected.

        messageSender = TcpSyslogMessageSender()
        messageSender.syslogServerHostname = host
        messageSender.defaultMessageHostname = host
        messageSender.syslogServerPort = port
        messageSender.defaultAppName = appName
        messageSender.defaultFacility = Facility.LOCAL0
        messageSender.messageFormat = MessageFormat.RFC_5425
        messageSender.isSsl = true
        messageSender.sslContext = sslContext
       messageSender.defaultSeverity = Severity.INFORMATIONAL
        messageSender.sendMessage(message)
        messageSender.close()

Code used as above, everything else seems to be working correctly.

I'd be grateful for any help in this matter.

@KevUKHD
Copy link
Author

KevUKHD commented Aug 27, 2020

Is there any assistance or insights anyone can provide on this issue?
Am I overlooking a functionality to set the procid (process id) or is this something that can be fixed?

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