mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup
This commit is contained in:
@@ -183,9 +183,12 @@ void up_initialize(void)
|
||||
ramlog_consoleinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the system logging device */
|
||||
/* Early initialization of the system logging device. Some SYSLOG channel
|
||||
* can be initialized early in the initialization sequence because they
|
||||
* depend on minimal OS initialization.
|
||||
*/
|
||||
|
||||
syslog_initialize();
|
||||
syslog_initialize(SYSLOG_INIT_EARLY);
|
||||
|
||||
#ifndef CONFIG_NETDEV_LATEINIT
|
||||
/* Initialize the network */
|
||||
|
||||
Reference in New Issue
Block a user