Xiang Xiao
bdeaea3742
Remove the unnessary empty line after label
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-30 17:54:56 +02:00
Fotis Panagiotopoulos
c0df7317ac
Fix in syslog file separator.
2022-06-04 14:30:15 +08:00
Fotis Panagiotopoulos
0c41611429
syslog: Fix in file channel initialization.
2022-01-13 19:16:10 +01:00
Fotis Panagiotopoulos
b73dc0f166
syslog: Added separator in file logs.
2021-06-09 10:09:04 -05:00
Fotis Panagiotopoulos
37ec290a11
Syslog file rotations number is configurable.
2021-06-08 04:12:48 -05:00
Fotis Panagiotopoulos
216194d31b
Added automatic log rotation, when log file is opened.
2021-06-03 15:57:28 -03:00
Fotis Panagiotopoulos
e189d83e11
SYSLOG channel add functions return handle to the channel.
2021-06-03 08:36:15 -05:00
Fotis Panagiotopoulos
ee7276e7a7
syslog: syslog_device ops are handled internally by the driver.
2021-04-09 08:02:38 -05:00
Fotis Panagiotopoulos
1dee243e29
syslog: Added multi device support in syslog_device.
2021-04-06 07:32:23 -05:00
Alin Jerpelea
e5b6305f4a
drivers: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-04 18:32:27 -08:00
Xiang Xiao
c161dc07a9
syslog/file: Remove syslog_dev_uninitialize return value
...
To simplify the initializition process
2020-02-27 08:02:50 -06:00
Xiang Xiao
51a2171c71
ramlog: Remove g_ramlog_syslog_channel since it's same as g_default_channel
...
And remove syslog_init_e because all initialization is later now and we don't
distinguish the initialition phase anymore after ramlog don't need special
initialize.
2020-02-18 13:04:45 -06:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
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.
2018-11-09 08:46:32 -06:00
Gregory Nutt
95e20afcd2
drivers/: Remove dangling space at the end of lines.
2017-06-28 13:17:17 -06:00
Gregory Nutt
20727d17c3
SYSLOG: Add option to buffer SYSLOG output to avoid interleaving.
2017-05-10 14:42:43 -06:00
Max Kriegleder
77e5115e23
syslog: Fixes required for file syslog output
2016-10-19 08:27:20 -06:00
Gregory Nutt
cb55c06153
sched_file_channel(): Comments say that we need to lock the scheduler, but we do not.
2016-06-21 16:39:28 -06:00
Gregory Nutt
0e1e3bc404
Add a file that I forgot in the last commit; Also update some comments.
2016-06-21 13:33:17 -06:00