<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_logger</id>
	<title>Mailutils logger - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_logger"/>
	<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;action=history"/>
	<updated>2026-08-28T22:10:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;diff=467&amp;oldid=prev</id>
		<title>Gray at 18:20, 15 June 2017</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;diff=467&amp;oldid=prev"/>
		<updated>2017-06-15T18:20:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:20, 15 June 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l28&quot; &gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Finally, the &amp;lt;tt&amp;gt;--locus&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-l&amp;lt;/tt&amp;gt;) option binds log messages to a location in a file.  Its argument has the following syntax:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Finally, the &amp;lt;tt&amp;gt;--locus&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-l&amp;lt;/tt&amp;gt;) option binds log messages to a location in a file.  Its argument has the following syntax:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   ''file'':''line''[:''col'']&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   ''file'':''line''[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.''col''][-[''file''&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]''line''[.&lt;/ins&gt;''col''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where ''file'' is the file name, ''line'' is the line number and optional ''col'' is the column number in that file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where ''file'' is the file name, ''line'' is the line number and optional ''col'' is the column number in that file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;diff=408&amp;oldid=prev</id>
		<title>Gray at 11:05, 11 July 2015</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;diff=408&amp;oldid=prev"/>
		<updated>2015-07-11T11:05:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:05, 11 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;mailutils logger&amp;lt;/tt&amp;gt; tool logs information using Mailutils log facility.   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[mu|&lt;/ins&gt;mailutils&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;logger&amp;lt;/tt&amp;gt; tool logs information using Mailutils log facility.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Syntax:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Syntax:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;diff=407&amp;oldid=prev</id>
		<title>Gray: Created page with &quot;The &lt;tt&gt;mailutils logger&lt;/tt&gt; tool logs information using Mailutils log facility.    Syntax:    mailutils logger [''options''] [''message'']  The ''message'' argument, if supplie...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_logger&amp;diff=407&amp;oldid=prev"/>
		<updated>2015-07-11T11:05:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;tt&amp;gt;mailutils logger&amp;lt;/tt&amp;gt; tool logs information using Mailutils log facility.    Syntax:    mailutils logger [&amp;#039;&amp;#039;options&amp;#039;&amp;#039;] [&amp;#039;&amp;#039;message&amp;#039;&amp;#039;]  The &amp;#039;&amp;#039;message&amp;#039;&amp;#039; argument, if supplie...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;mailutils logger&amp;lt;/tt&amp;gt; tool logs information using Mailutils log facility.  &lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
  mailutils logger [''options''] [''message'']&lt;br /&gt;
&lt;br /&gt;
The ''message'' argument, if supplied, gives the text to log.  If not supplied, the utility reads lines of text from standard input or a file (if the &amp;lt;tt&amp;gt;--file&amp;lt;/tt&amp;gt; option is given) and sends them to log:&lt;br /&gt;
&lt;br /&gt;
  # Send text to log&lt;br /&gt;
  $ mailutils logger I am here&lt;br /&gt;
  # Log each line from file.txt&lt;br /&gt;
  $ mailutils logger --file file.txt&lt;br /&gt;
  # Read stdin and log it:&lt;br /&gt;
  $ mailutils logger&lt;br /&gt;
&lt;br /&gt;
The default logging channel is bound to standard error.  To bind it to syslog, use the &amp;lt;tt&amp;gt;--syslog&amp;lt;/tt&amp;gt; command line option. In that case &amp;lt;tt&amp;gt;mailutils&amp;lt;/tt&amp;gt; uses facility &amp;lt;tt&amp;gt;user&amp;lt;/tt&amp;gt; and priority &amp;lt;tt&amp;gt;err&amp;lt;/tt&amp;gt;.  You can change this by using the &amp;lt;tt&amp;gt;--priority&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-p&amp;lt;/tt&amp;gt;) option.  Its argument is either a syslog facility name or facility and severity names separated by a dot.  Thus, the following invocation will use facility &amp;lt;tt&amp;gt;auth&amp;lt;/tt&amp;gt;, severity &amp;lt;tt&amp;gt;info&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
  mailutils logger --priority auth.info&lt;br /&gt;
&lt;br /&gt;
The syslog tag can be set using the &amp;lt;tt&amp;gt;--tag&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-t&amp;lt;/tt&amp;gt;) option:&lt;br /&gt;
&lt;br /&gt;
  mailutils logger --tag myprog&lt;br /&gt;
&lt;br /&gt;
The default tag is &amp;lt;tt&amp;gt;mu-logger&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;--severity&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-s&amp;lt;/tt&amp;gt;) option sets the Mailutils severity level.  Its argument can be any of the following strings: &amp;lt;tt&amp;gt;debug&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;info&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;notice&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;warning&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;error&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;crit&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;alert&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;emerg&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, the &amp;lt;tt&amp;gt;--locus&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-l&amp;lt;/tt&amp;gt;) option binds log messages to a location in a file.  Its argument has the following syntax:&lt;br /&gt;
&lt;br /&gt;
  ''file'':''line''[:''col'']&lt;br /&gt;
&lt;br /&gt;
where ''file'' is the file name, ''line'' is the line number and optional ''col'' is the column number in that file.&lt;br /&gt;
&lt;br /&gt;
For example, the following invocation:&lt;br /&gt;
&lt;br /&gt;
  mailutils logger --locus mailutils.rc:34 Suspicious statement&lt;br /&gt;
&lt;br /&gt;
will send the following to the log:&lt;br /&gt;
&lt;br /&gt;
  mailutils-logger: mailutils.rc:34: Suspicious statement&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[mailutils (utility)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:utilities]]&lt;/div&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
</feed>