You can clone with
HTTPS or Subversion.
I'm using multiple Syslog::Logger instances, and am experiencing a problem with it.
The Syslog::Logger instance that gets created first, gets log messages from all the other Syslog::Logger facilities as well, prefixed by their facility name - it also correctly logs it's own data without prefix.
This is a restriction of syslog(3).
Syslog uses openlog(3), but openlog(3) doesn't allow multiple names to be used for the same program. Managing switching between the various possible names is too difficult and error-prone to implement, unfortunately.
This behavior is described in the documentation:
thank you for the quick reply..
how about this?
it should still be possible to write to multiple Syslog facilities from one program...
I think you are right, reopened.
apparently with Lumberjack one can specify the facility as an option.
In Ruby 2.1 Syslog::Logger has support for writing to multiple facilities from the same app. See:
I've found gem that logs to syslog using tcp/udp: https://github.com/johnskopis/syslog_ruby
So you can have several loggers open at the same time with different progname - something that is unreachable for stdlib syslog.