aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-27 14:02:34 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-27 14:02:34 +0100
commit502417cc2b801cb33e25caeb26823f6fa9bd0c0e (patch)
treed47e5da8ff84ae71983ed52f2c1346ae9e025adb
parent7f775ee37022831cd43391f999cb65fbd62fc32b (diff)
downloadpaludis-502417cc2b801cb33e25caeb26823f6fa9bd0c0e.tar.gz
paludis-502417cc2b801cb33e25caeb26823f6fa9bd0c0e.tar.xz
More output.conf examples
-rw-r--r--doc/configuration/output.html.part.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/configuration/output.html.part.in b/doc/configuration/output.html.part.in
index 1fc7b9e..5b2069e 100644
--- a/doc/configuration/output.html.part.in
+++ b/doc/configuration/output.html.part.in
@@ -52,3 +52,26 @@ stdout_command = logger -t paludis
stderr_command = cat &gt;/dev/null
</pre>
+<p>To keep logs of stderr output, you could use:</p>
+
+<pre>
+extra_output_managers = my_log_stderr
+
+[manager my_log_stderr_file]
+handler = file
+filename = ${root}/var/tmp/paludis/%{time}-%{action}-%{full_name}.stderr
+keep_on_empty = false
+keep_on_success = true
+summary_output_manager = format_messages_standard
+summary_output_message = Stderr: ${filename}
+</pre>
+
+<p>You can also override default output managers. To really confuse everyone, you could use:</p>
+
+<pre>
+[manager standard]
+handler = command
+stdout_command = tr -d '\e' | rev
+stderr_command = tr -d '\e' | rev
+</pre>
+