Xiang Xiao
|
51a2171c71
ramlog: Remove g_ramlog_syslog_channel since it's same as g_default_channel
|
4 年之前 |
Juha Niskanen
|
219d99451a
drivers/syslog/syslog_device.c: Fix assert that assumes re-opened syslog file is the same. Logic in syslog_file_channel() is calling syslog_initialize() for the default syslog device as a recovery action after failed syslog_dev_initialize().
|
5 年之前 |
Juha Niskanen
|
5c853cd1dc
libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos.
|
5 年之前 |
Gregory Nutt
|
a2e62f557d
Squashed commit of the following:
|
5 年之前 |
Xiang Xiao
|
7828dff2ea
drivers/syslog: syslog_initialize initialize dev/syslog too and call syslog to add the prefix and timestamp
|
6 年之前 |
Xiang Xiao
|
f579c43754
drivers/syslog: Ensure interrupt log doesn't interlace in normal log. Don't call syslog_putc in syslog_default_write because syslog_putc will try to empty the interrupt buffer every time.
|
6 年之前 |
Gregory Nutt
|
a94e3284b3
syslog: Enable is partial, crippled version of syslog_flush(); arch/: Call syslog_flush() from assertion handling logic.
|
6 年之前 |
Gregory Nutt
|
de6b13b3ab
Per OpenGroup.org, syslog -- and, hence, nonstandard vsyslog, and debug wrappers -- does not return a value. Rename _vsyslog to nx_vsyslog. Use internal nx_vsyslog in the few cases where a return value is required.
|
6 年之前 |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 年之前 |
Gregory Nutt
|
20727d17c3
SYSLOG: Add option to buffer SYSLOG output to avoid interleaving.
|
7 年之前 |
Gregory Nutt
|
02b91d9880
Add a SYSLOG character device that can be used to re-direct output to the SYSLOG
|
8 年之前 |
Gregory Nutt
|
0150991503
Update some comments
|
8 年之前 |
Gregory Nutt
|
e6a1d53869
Extend SYSLOG logic so that we can send SYSLOG output to a file. Not verified on initial commit.
|
8 年之前 |
Gregory Nutt
|
62d8f839c7
SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup
|
8 年之前 |
Gregory Nutt
|
505ca542e8
Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly
|
8 年之前 |
Gregory Nutt
|
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
|
8 年之前 |
Gregory Nutt
|
f4c47636e7
SYSLOG: Debug output from the IDLE task should be forced like interrupt level output
|
8 年之前 |
Gregory Nutt
|
fa365e85f5
Update some cmoments
|
8 年之前 |
Gregory Nutt
|
7dd66a4620
Need to pass va_list as a reference to vsyslog. This is because va_list is a structure in some compilers and passing of structures in the NuttX sycalls does not work.
|
8 年之前 |
Gregory Nutt
|
5b2aa7bf99
Remove all traces of CONFIG_SYSLOG
|
8 年之前 |
Gregory Nutt
|
9434d3e945
There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel()
|
8 年之前 |
Gregory Nutt
|
d82942cf3b
Merge remote-tracking branch 'origin/master' into syslog
|
8 年之前 |
Gregory Nutt
|
9f260ca193
Some renaming so that future features will fit in better; If the architecture provides its only system logging (via CONFIG_ARCH_SYSLOG), then syslog_initialize() is stubbed out
|
8 年之前 |
Gregory Nutt
|
19c6a82f8b
a few cosmetic changes
|
8 年之前 |
Gregory Nutt
|
f59196247c
Merge remote-tracking branch 'origin/master' into syslog
|
8 年之前 |
Gregory Nutt
|
3bd953316f
Add a hook before the existing syslog_initialize() call; rename the old syslog_initialize() to syslog_dev_initialize().
|
8 年之前 |
Gregory Nutt
|
2ff6ff39c9
Merge remote-tracking branch 'origin/master' into syslog
|
8 年之前 |
Gregory Nutt
|
b66112347c
include/nuttx/syslog/syslog.h now needs to include stdarg.h
|
8 年之前 |
Gregory Nutt
|
668980b4fa
Merge remote-tracking branch 'origin/master' into syslog
|
8 年之前 |
Gregory Nutt
|
34f776dce9
Move the OS intensive part of vsyslog and vlowsyslog to drivers/syslog/vsyslog.c and vlowsyslog.c. Also move lib_syslogstrem to drivers/syslog/syslogstream.c
|
8 年之前 |