X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2FREADME.log;h=ba838824a99c25b535ed0c335d9ec8fc6cbe9c78;hb=5575f79bdaa824a90747d5a3d063b5219521b066;hp=19856d43da22e8e59a3c48c008f0a2e61e9e7c37;hpb=888f9aa5cac4227e540a5c91a744ac7bed386e70;p=platform%2Fkernel%2Fu-boot.git diff --git a/doc/README.log b/doc/README.log index 19856d4..ba83882 100644 --- a/doc/README.log +++ b/doc/README.log @@ -60,13 +60,14 @@ Enabling logging The following options are used to enable logging at compile time: CONFIG_LOG - Enables the logging system - CONFIG_MAX_LOG_LEVEL - Max log level to build (anything higher is compiled + CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled out) CONFIG_LOG_CONSOLE - Enable writing log records to the console If CONFIG_LOG is not set, then no logging will be available. -The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL. +The above have SPL and TPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL and +CONFIG_TPL_LOG_MAX_LEVEL. Temporary logging within a single file @@ -147,7 +148,10 @@ several possible determinations for logging information, all of which can be enabled or disabled independently: console - goes to stdout + syslog - broadcast RFC 3164 messages to syslog servers on UDP port 514 +The syslog driver sends the value of environmental variable 'log_hostname' as +HOSTNAME if available. Log format ----------