Dashboard > PXE > Logging and Output for Commandline Tools > View

Page Operations


Navigation


PXE Log In   View a printable version of the current page.
Logging and Output for Commandline Tools
Added by Paul Brown, last edited by Paul Brown on Mar 23, 2005

The commandline tools are set up to use a consistent set of configuration options for logging.

Commandline tools all obey the following rules of thumb:

  • Output from a tool is sent to standard output. For example, an error message produced by a compiler or validator is expected output and will be output to standard output.
  • Informational output is sent to standard error. For example, an attempt to compile a missing or unreadable would result in output to standard error. Logging-oriented information is also set to standard error.
  • No other output is generated except in the case of the standalone PXE kernel (pxe).

In all cases, the -q ("quiet"), -v ("verbose"), and -vv ("very verbose") flags control the amount of output generated on the console.

Independent of any commandline flags, the PXE kernel logs to the file PXE_HOME/logs/kernel.log according to the configuration in PXE_HOME/etc/log4j.properties.



Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators