Let me log the event at only local host I think that You must have / logger directly, but you have to write a new adapter to do this. The "easiest" thing can sub-classify the current adapter to get all the scaffolds and only override the messaging snippet. You may want to do some experimentation whether you have a simple Java program / bin / logger, to see that it is a viable method. syslog Required. My first trial was with
logbacks
SyslogAppender , but it seems that it writes logs via UDP. The problem is that the
syslog daemon should be configured to use remote logging, which I can not guarantee on all deployment goals. From Java, there is no way to log in to
syslog "directly" (the way
/ bin / logger is done)? (I mean, without the need to go through UDP or TCP)
Comments
Post a Comment