summaryrefslogtreecommitdiffstats
path: root/cnf/make.conf
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2005-11-15 19:28:02 +0000
committerMarius Mauch <genone@gentoo.org>2005-11-15 19:28:02 +0000
commitdade8615312d057db228bf792eee81bb029d9e5d (patch)
tree00009357dff190734fd27f43e6a2b0e6b3a30883 /cnf/make.conf
parent14a413156e646c54315c290934484c13b478221e (diff)
downloadportage-dade8615312d057db228bf792eee81bb029d9e5d.tar.gz
portage-dade8615312d057db228bf792eee81bb029d9e5d.tar.bz2
portage-dade8615312d057db228bf792eee81bb029d9e5d.zip
config additions for elog
svn path=/main/trunk/; revision=2312
Diffstat (limited to 'cnf/make.conf')
-rw-r--r--cnf/make.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/cnf/make.conf b/cnf/make.conf
index 000cfdc83..211aa85a5 100644
--- a/cnf/make.conf
+++ b/cnf/make.conf
@@ -317,3 +317,43 @@ CHOST="i686-pc-linux-gnu"
# The file format is one pattern per line, blanks and ';' or '#' lines are
# comments. See 'man rsync' for more details on the exclude-from format.
#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
+
+# logging related variables:
+# PORTAGE_ELOG_CLASSES: selects messages to be logged, possible values are:
+# info, warn, error, log
+# Warning: commenting this will disable elog
+PORTAGE_ELOG_CLASSES="warn error log"
+
+# PORTAGE_ELOG_SYSTEM: selects the module(s) to process the log messages. Modules
+# included in portage are (empty means logging is disabled):
+# save (saves one log per package in $PORTAGE_TMPDIR/elogs)
+# custom (passes all messages to $PORTAGE_LOG_COMMAND)
+# syslog (sends all messages to syslog)
+# mail (send all messages to the mailserver defined
+# in $PORTAGE_LOG_MAILURI)
+# To use elog you should enable at least one module
+#PORTAGE_ELOG_SYSTEM="save mail"
+
+# PORTAGE_ELOG_COMMAND: only used with the "custom" logging module. Specifies a command
+# to process log messages. Two variables are expanded:
+# ${PACKAGE} - expands to the cpv entry of the processed
+# package (see $PVR in ebuild(5))
+# ${LOGFILE} - absolute path to the logfile
+#PORTAGE_ELOG_COMMAND="/path/to/logprocessor -p ${PACKAGE} -f ${LOGFILE}"
+
+# PORTAGE_ELOG_MAILURI: this variable holds all important settings for the mail
+# module. In most cases listing the recipient adress and
+# the receiving mailserver should be sufficient, but you can
+# also use advanced settings like authentication or TLS. The
+# full syntax is:
+# adress [[user:passwd@]mailserver[:port]]
+# where
+# adress: recipient adress
+# user: username for smtp auth (defaults to none)
+# passwd: password for smtp auth (defaults to none)
+# mailserver: smtp server that should be used to deliver the mail (defaults to localhost)
+# port: port to use on the given smtp server (defaults to 25, values > 100000 indicate that starttls should be used on (port-100000))
+# Examples:
+#PORTAGE_ELOG_MAILURI="root@localhost localhost" (this is also the default setting)
+#PORTAGE_ELOG_MAILURI="user@some.domain mail.some.domain" (sends mails to user@some.domain using the mailserver mail.some.domain)
+#PORTAGE_ELOG_MAILURI="user@some.domain user:secret@mail.some.domain:100465" (this is left uncommented as a reader excercise ;)