Archived

This forum has been archived. Please start a new discussion on GitHub.

Redirecting icepacknode output

Is there a way to redirect the output of a icepacknode on a node by node basis.

Specifically I have a number of servers now running as icepacknodes. These servers produces copious amounts of output on stderr (and some on stdout), and when I started them by hand I typically redirected this output to files. I would like to be able to do the same (redirect the output to different files, according to the various servers) now that the executables are started as icepacknodes.

The only things I've been able to find are options allowing me to redirect stder to stdout (IcePack.Node.RedirectErrToOut), and some options regaring Ice.Logger, which I assume would require me to rewrite all my output to use the logger facility.

mvh

Nis

Comments

  • mes
    mes California
    Ice supports the Ice.StdOut and Ice.StdErr properties that redirect each channel to a file. You can define this property for any Ice server, including an IcePack node or individually for each server it starts.

    Take care,
    - Mark
  • Thanks - I was sure it was in there somewhere but I just couldn't find it.