summaryrefslogtreecommitdiffstats
path: root/etc/file_defaults.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/file_defaults.d')
-rw-r--r--etc/file_defaults.d/my_app1.conf8
-rw-r--r--etc/file_defaults.d/my_app1.conf~8
-rw-r--r--etc/file_defaults.d/my_app2.conf8
-rw-r--r--etc/file_defaults.d/my_app2.conf~17
4 files changed, 41 insertions, 0 deletions
diff --git a/etc/file_defaults.d/my_app1.conf b/etc/file_defaults.d/my_app1.conf
new file mode 100644
index 0000000..32cdfaf
--- /dev/null
+++ b/etc/file_defaults.d/my_app1.conf
@@ -0,0 +1,8 @@
+; This is the test application configuration
+; Log into the given file:
+
+file_name=/tmp/log1
+
+; Open once and keep open (default is 1)
+
+keep_open=1
diff --git a/etc/file_defaults.d/my_app1.conf~ b/etc/file_defaults.d/my_app1.conf~
new file mode 100644
index 0000000..33f860c
--- /dev/null
+++ b/etc/file_defaults.d/my_app1.conf~
@@ -0,0 +1,8 @@
+; This is the test application configuration
+; Log into the given file:
+
+file_name=/tmp/log1
+
+; Open once and keep open
+
+keep_open=1
diff --git a/etc/file_defaults.d/my_app2.conf b/etc/file_defaults.d/my_app2.conf
new file mode 100644
index 0000000..da3a8a0
--- /dev/null
+++ b/etc/file_defaults.d/my_app2.conf
@@ -0,0 +1,8 @@
+; This is the test application configuration
+; Log into the given file:
+
+file_name=/tmp/log2
+
+; Open once and keep open (default is 1)
+
+keep_open=0
diff --git a/etc/file_defaults.d/my_app2.conf~ b/etc/file_defaults.d/my_app2.conf~
new file mode 100644
index 0000000..fe5846a
--- /dev/null
+++ b/etc/file_defaults.d/my_app2.conf~
@@ -0,0 +1,17 @@
+; This is the test application configuration
+; Identify myself as "TESTAPP"
+; See /usr/include/sys/syslog.h for more details
+
+identity="TESTAPP"
+
+; Default option is to include PID
+
+option = 1
+
+; Level is LOG_INFO.
+
+level = 6
+
+; Facility is LOG_AUTHPRIV (upper 28 bits) 10<<3
+
+facility = 80