[ipxe-devel] TFTP upload

Martin Habets mhabets at solarflare.com
Fri Dec 1 13:19:18 UTC 2017


You also need to make sure CONSOLE_SYSLOG is defined in that file.
Martin

On 01/12/17 12:18, Pete French wrote:
> 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)
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel



More information about the ipxe-devel mailing list