Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suppress Screen output?
2012-10-15, 16:02
Post: #4
RE: Suppress Screen output?
@Torgeir: You might want to take notice of this reply later on in the thread: http://www.mail-archive.com/ipxe-devel@l...01155.html and the updated information for the set command which changes the syntax for a cls command slightly.

@MultimediaMan: I use this config in src/config/local/console.h to surpress a lot of console output and redirect it to syslog instead:

Code:
/* Everything but DEBUG and LOG output to BIOS console */
#undef CONSOLE_PCBIOS
#define CONSOLE_PCBIOS ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_DEBUG & ~CONSOLE_USAGE_LOG )

/* Everything but TUI output to syslog console */
#undef CONSOLE_SYSLOG
#define CONSOLE_SYSLOG ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI )

#undef LOG_LEVEL
#define LOG_LEVEL LOG_ALL /* Full syslog logging */

You can read more about how to tweak the console and logging at http://ipxe.org/console.

It doesn't remove the URLs, but it does limit the amount of output you get on the actual console. If you only use native menus you might be able to get what you want by also removing STDOUT (and only keeping TUI) on the local console. That would make things difficult to debug, though.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Suppress Screen output? - Torgeir - 2012-09-23, 16:13
RE: Suppress Screen output? - Torgeir - 2012-10-15, 13:24
RE: Suppress Screen output? - robinsmidsrod - 2012-10-15 16:02



User(s) browsing this thread: 2 Guest(s)