diff options
author | 2010-08-27 14:02:34 +0100 | |
---|---|---|
committer | 2010-08-27 14:02:34 +0100 | |
commit | 502417cc2b801cb33e25caeb26823f6fa9bd0c0e (patch) | |
tree | d47e5da8ff84ae71983ed52f2c1346ae9e025adb | |
parent | 7f775ee37022831cd43391f999cb65fbd62fc32b (diff) | |
download | paludis-502417cc2b801cb33e25caeb26823f6fa9bd0c0e.tar.gz paludis-502417cc2b801cb33e25caeb26823f6fa9bd0c0e.tar.xz |
More output.conf examples
-rw-r--r-- | doc/configuration/output.html.part.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/configuration/output.html.part.in b/doc/configuration/output.html.part.in index 1fc7b9eff..5b2069e61 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 >/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> + |