Home Help Center

How do I control icegridnode syslog messages?

vancovanco Member Vanco BucaOrganization: wink.comProject: PeopleSearch Search Engine

I'm running a deployment which occasionally requires several icegridnodes present on one physical machine. I have the icegridnodes dump their messages to syslog, i.e., my Ice.Config file contains the following line:


I want to now configure syslog to separate the icegridnode messages for the different deployments. Unfortunately, the only information that I get is program name == icegridnode, and a process number (which changes whenever my machine(s) restart).

How can I add more control to the syslog messages? For example, if I can control the program name for icegridnode, or the syslog facility, or any other part of the syslog message, I can then filter appropriately inside syslog.

The only thing that I found in the documentation is the Ice.ProgramName property, and that doesn't affect the content of the syslog messages.

For reference, I'm using the Ice 3.1.1 release.



  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    Note that we only provide free support on the forums for the latest version, so I recommend to upgrade :). The built-in Ice syslog logger doesn't support specifying an identifier. I'll add a note to our TODO list to improve this. In the meantime, you'll have to write your own logger to do this. See the Ice manual for more information on how to create a custom logger.

Sign In or Register to comment.