Problem

Why are some of my print statements not showing up in the container output section of acscommandcenter?

Solution

The output is not actually being lost, but instead the acscommandcenter sometimes has trouble flushing output from Python interpreters. Unless each of your print statements is followed by a "sys.stdout.flush()" invocation, you will not immediately see the results of print. However, the next time an ACS logger is used or if the container is shutdown; all queued prints should immediately appear in the output section of acscommandcenter.

By using the Python ACS logger, you will not experience such problems. Another alternative is to start the Python container from the command-line instead.

-- DavidFugate - 06 Aug 2004