ref: refs/heads/master
commit 8a2f486abf13a7e88cdec484fb80fc57d4b35e56
Author: Jiri Suchomel
Date: Tue Nov 10 13:23:14 2009 +0100
- added example logs.yml
---
plugins/status/doc/README_FOR_APP | 5 +++++
plugins/status/doc/logs.yml | 12 ++++++++++++
.../status/package/yast2-webservice-status.changes | 5 +++++
.../status/package/yast2-webservice-status.spec | 1 +
4 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/plugins/status/doc/README_FOR_APP b/plugins/status/doc/README_FOR_APP
new file mode 100644
index 0000000..bb55f55
--- /dev/null
+++ b/plugins/status/doc/README_FOR_APP
@@ -0,0 +1,5 @@
+To monitor given log files in Status view:
+
+ - edit /etc/webyast/vendor/logs.yml and write a list of your the log files to be monitored
+
+ - see the example file for logs.yml in this directory
diff --git a/plugins/status/doc/logs.yml b/plugins/status/doc/logs.yml
new file mode 100644
index 0000000..5bda090
--- /dev/null
+++ b/plugins/status/doc/logs.yml
@@ -0,0 +1,12 @@
+# Syntax of this file is
+# log_file_name:
+# path: path to log file to be monitored
+# description: file description shown in Status module
+
+system:
+ path: /var/log/messages
+ description: System messages
+
+#apache:
+# description: Apache
+# path: /var/log/apache2/access_log
diff --git a/plugins/status/package/yast2-webservice-status.changes b/plugins/status/package/yast2-webservice-status.changes
index c971828..e641ca7 100644
--- a/plugins/status/package/yast2-webservice-status.changes
+++ b/plugins/status/package/yast2-webservice-status.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue Nov 10 13:12:32 CET 2009 - jsuchome@suse.cz
+
+- added example logs.yml
+
+-------------------------------------------------------------------
Tue Nov 10 12:23:23 CET 2009 - schubi@suse.de
- disable FQDNLookup and enable df in collectd.conf (bnc#553185)
diff --git a/plugins/status/package/yast2-webservice-status.spec b/plugins/status/package/yast2-webservice-status.spec
index 7bcb559..c6714d3 100644
--- a/plugins/status/package/yast2-webservice-status.spec
+++ b/plugins/status/package/yast2-webservice-status.spec
@@ -104,6 +104,7 @@ rccollectd start
%dir /srv/www/%{pkg_user}/vendor
%dir /srv/www/%{pkg_user}/vendor/plugins
%dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}
+%dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/doc
%attr(-,%{pkg_user},%{pkg_user}) %dir /srv/www/%{pkg_user}/vendor/plugins/%{plugin_name}/config
%dir /usr/share/PolicyKit
%dir /usr/share/PolicyKit/policy
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org