[ipxe-devel] TFTP upload

Pete French pete at twisted.org.uk
Fri Dec 1 12:18:57 UTC 2017


On 01/12/2017 10:28, Michael Brown wrote:
>
> You will need to build iPXE with CONSOLE_SYSLOG enabled:
> 
>    http://ipxe.org/cfg/syslog
>    http://ipxe.org/buildcfg/console_syslog

I think I am - heres the outout from 'git diff' in my source directory. 
as you can see I made local modifications to console.h to enable syslog 
and set the log level to something verbose.

-pete.

[pete at skerry ~/ipxe]$ git diff
diff --git a/src/config/console.h b/src/config/console.h
index 9f770d09..8f0a781b 100644
--- a/src/config/console.h
+++ b/src/config/console.h
@@ -59,7 +59,11 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
   *
   * Note that this is not related in any way to CONSOLE_SYSLOG.
   */
-#define        LOG_LEVEL       LOG_NONE
+//#define      LOG_LEVEL       LOG_NONE
+
+/* We want syslog messages to go to skerry */
+#define CONSOLE_SYSLOG CONSOLE_USAGE_LOG
+#define LOG_LEVEL      LOG_ALL

  #include <config/named.h>
  #include NAMED_CONFIG(console.h)



More information about the ipxe-devel mailing list