Hi all 

I’m integrating the SysLogSender of Goran as an extension of SystemLogger and 
my system gets blocked when I try to send something.
I just did the same as in the original version (and know nothing about upd and 
port).

I suspect that on mac is not working the same. 
https://developer.apple.com/library/mac/documentation/macosx/conceptual/bpsystemstartup/chapters/LoggingErrorsAndWarnings.html

Does any of you have some ideas?

my code look like that:


| logger |
logger := SysLogSender new addHost: 'localhost' port: 514.
Log dispatcher addLogger: logger.
Log dispatcher startAllLoggers.



send: message to: host port: port
        "Send formatted UDP message to host and port."

        | sock |
        sock := Socket newUDP.
        sock setPeer: NetNameResolver localHostAddress port: port.
        sock sendData: message.
        sock waitForSendDoneFor: Socket standardTimeout.
        sock close

Stef

Reply via email to