<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.yate.ro/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=Eventlogs</id>
		<title>Eventlogs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=Eventlogs"/>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Eventlogs&amp;action=history"/>
		<updated>2026-05-14T08:16:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Eventlogs&amp;diff=7409&amp;oldid=prev</id>
		<title>Monica at 11:30, 4 November 2013</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Eventlogs&amp;diff=7409&amp;oldid=prev"/>
				<updated>2013-11-04T11:30:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:30, 4 November 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ; If this section is missing or empty a default line is added:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ; If this section is missing or empty a default line is added:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ; ^[A-Za-z0-9_-]\+ = \0.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ; ^[A-Za-z0-9_-]\+ = \0.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Monitoring]] [[Category:Logs]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Monica</name></author>	</entry>

	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Eventlogs&amp;diff=1084&amp;oldid=prev</id>
		<title>Dana: Created page with &quot;== Event Logs==  This module allows writing events and alarms to persistent log files. Apart from that the events in the running instance can be seen through a [[Rmanager Comm...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Eventlogs&amp;diff=1084&amp;oldid=prev"/>
				<updated>2012-10-22T09:36:38Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Event Logs==  This module allows writing events and alarms to persistent log files. Apart from that the events in the running instance can be seen through a [[Rmanager Comm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Event Logs==&lt;br /&gt;
&lt;br /&gt;
This module allows writing events and alarms to persistent log files. Apart from that the events in the running instance can be seen through a [[Rmanager Commands|rmanager command]].&lt;br /&gt;
&lt;br /&gt;
The names of the log files are built by matching the name of the component that generated the event against a list of regular expressions. By default the alphanumeric prefix of the name is turned in the file name and an extension of ''.log'' is added.&lt;br /&gt;
&lt;br /&gt;
With the default regexp in the config file the alphanumeric prefix of components is turned into the file name. Most special characters and anything after them is removed:&lt;br /&gt;
* trunk1/ISUP -&amp;gt; trunk1.log&lt;br /&gt;
* trunk2/ISUP -&amp;gt; trunk2.log&lt;br /&gt;
* linkset -&amp;gt; linkset.log&lt;br /&gt;
* link:1 -&amp;gt; link.log&lt;br /&gt;
* link:2 -&amp;gt; link.log&lt;br /&gt;
&lt;br /&gt;
Note that log files are opened / created, appended and immediately closed. It should be safe to move or rename the logs during operation.&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
To enable the module you will need to configure at least the logs base directory ''logs_dir''. The default file mappings should be OK.&lt;br /&gt;
 &lt;br /&gt;
 [general]&lt;br /&gt;
 ; This section controls the global behavior of the events log module&lt;br /&gt;
 &lt;br /&gt;
 ; logs_dir: string: Base directory for event log files, must be set to enable the module&lt;br /&gt;
 ; The last component of the path will be created if missing&lt;br /&gt;
 ; Example: logs_dir=/var/log/yate-events&lt;br /&gt;
 ;logs_dir=&lt;br /&gt;
 &lt;br /&gt;
 ; public_read: bool: Make the log files publically readable&lt;br /&gt;
 ; This setting does not apply to Windows&lt;br /&gt;
 ;public_read=false&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 [mappings]&lt;br /&gt;
 ; This section maps event sources to file names&lt;br /&gt;
 ; Each line holds a regexp and a filename that can include replacements&lt;br /&gt;
 ; First line that matches writes to file name at right of = and exits&lt;br /&gt;
 ; You must take care to create valid file names&lt;br /&gt;
 &lt;br /&gt;
 ; If this section is missing or empty a default line is added:&lt;br /&gt;
 ; ^[A-Za-z0-9_-]\+ = \0.log&lt;/div&gt;</summary>
		<author><name>Dana</name></author>	</entry>

	</feed>