Home Help Center

Redirecting icepacknode output

Nis BaggesenNis Baggesen Member ✭✭✭
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

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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
  • Nis BaggesenNis Baggesen Member ✭✭✭
    Thanks - I was sure it was in there somewhere but I just couldn't find it.
Sign In or Register to comment.