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/bpsy... 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
On Sun, Feb 23, 2014 at 8:40 PM, Pharo4Stef <pharo4Stef@free.fr> wrote:
logger := SysLogSender new addHost: 'localhost' port: 514.
is there anything listening on port 514? You might want to try with a port greater than 1024. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
On 02/24/2014 12:52 PM, Damien Cassou wrote:
On Sun, Feb 23, 2014 at 8:40 PM, Pharo4Stef <pharo4Stef@free.fr> wrote:
logger := SysLogSender new addHost: 'localhost' port: 514.
is there anything listening on port 514? You might want to try with a port greater than 1024.
Quick googling: http://superuser.com/questions/131578/how-do-you-enable-syslogd-to-accept-in... So UDP port 514 is the standard port for syslogd, if enabled of course. regards, Göran
participants (3)
-
Damien Cassou -
Göran Krampe -
Pharo4Stef