summaryrefslogtreecommitdiff
path: root/nuttx/fs/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-02 17:09:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-02 17:09:25 +0000
commit91bc37410bc27d9d3c1c880e783f26f748f2e434 (patch)
tree3bba899b7f99e4632d1922bbe89c210b10f7cb7a /nuttx/fs/Kconfig
parenta484bea877cdbc2256caadfa910ffdbc8b754e34 (diff)
downloadpx4-nuttx-91bc37410bc27d9d3c1c880e783f26f748f2e434.tar.gz
px4-nuttx-91bc37410bc27d9d3c1c880e783f26f748f2e434.tar.bz2
px4-nuttx-91bc37410bc27d9d3c1c880e783f26f748f2e434.zip
The initial SYLOG device logic was valiant but yet still not enough
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4998 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/Kconfig')
-rw-r--r--nuttx/fs/Kconfig31
1 files changed, 30 insertions, 1 deletions
diff --git a/nuttx/fs/Kconfig b/nuttx/fs/Kconfig
index afea33712..1d1046735 100644
--- a/nuttx/fs/Kconfig
+++ b/nuttx/fs/Kconfig
@@ -9,4 +9,33 @@ source fs/fat/Kconfig
source fs/mmap/Kconfig
source fs/nfs/Kconfig
source fs/nxffs/Kconfig
-source fs/romfs/Kconfig \ No newline at end of file
+source fs/romfs/Kconfig
+
+comment "System Logging"
+
+config SYSLOG
+ bool "System logging"
+ default n
+ ---help---
+ Enables generic system logging features.
+
+config SYSLOG_DEVPATH
+ string "System log device"
+ default "/dev/syslog"
+ depends on SYSLOG
+ ---help---
+ The full path to the system logging device. For the RAMLOG SYSLOG device,
+ this is normally "/dev/ramlog". For character SYSLOG devices, it should be
+ some other existing character device (or file) supported by the configuration
+ (such as "/dev/ttyS1")/
+
+config SYSLOG_CHAR
+ bool "System log character device support"
+ default y
+ depends on SYSLOG
+ ---help---
+ Enable the generic character device for the SYSLOG. The full path to the
+ SYSLOG device is provided by SYSLOG_DEVPATH. A valid character device (or
+ file) must exist at this path. It will by opened by syslog_initialize.
+
+ Do not enable more than one SYSLOG device.