locked
I am not able to see syslogs in syslog server. However send is success. RRS feed

  • Question

  • User-1367616812 posted

    var _syslogSender = new SyslogUdpSender("localhost", 514);
                    _syslogSender.Send(
                        new SyslogMessage(
                            DateTime.Now,
                            Facility.SecurityOrAuthorizationMessages1,
                            Severity.Informational,
                            Environment.MachineName,
                            "Application Name",
                            "Message Content"),
                        new SyslogRfc5424MessageSerializer());



    Tuesday, June 2, 2015 2:04 PM

All replies

  • User-219423983 posted

    Hi manjay.bit2k7,

    Did the SyslogUdpSender() is you customized? I think you could debug this function when you send something.  Also you could check whether the 514 port is occupied and then check the “IUSR_MachineName” or “IUSR” has the right to write a log file in the folder?

    Besides, did the syslog server uses a third-part software, not a Microsoft product? If it’s true, I suggest that you could do some attempts as I said above. If it doesn’t work, you should ask the vendor for help. If it’s a Microsoft product or a customized system, could you provide more information abou it?

    I hope it’s useful to you.

    Best Regards,

    Weibo Zhang

    Wednesday, June 3, 2015 7:53 AM