<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.anope.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fos_logsearch</id>
		<title>2.0/Modules/os logsearch - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fos_logsearch"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/os_logsearch&amp;action=history"/>
		<updated>2026-05-29T18:39:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.4</generator>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/os_logsearch&amp;diff=789&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/os_logsearch}} {{Syntax|os_logsearch|OperServ|Anope}}  == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == This command searches the Services logfiles for...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/os_logsearch&amp;diff=789&amp;oldid=prev"/>
				<updated>2014-05-08T21:20:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/os_logsearch}} {{Syntax|os_logsearch|OperServ|Anope}}  == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == This command searches the Services logfiles for...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|2.0/Modules/os_logsearch}}&lt;br /&gt;
{{Syntax|os_logsearch|OperServ|Anope}}&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; ==&lt;br /&gt;
This command searches the Services logfiles for messages that match the given pattern. The day and limit argument may be used to specify how many days of logs to search and the number of replies to limit to. By default this command searches one week of logs, and limits replies to 50.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Commands&amp;lt;/div&amp;gt; == &lt;br /&gt;
;logsearch [+daysd] [+limitl] pattern&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Examples&amp;lt;/div&amp;gt; ==&lt;br /&gt;
/msg OperServ LOGSEARCH +1d +25l Fred&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Default Configuration&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * os_logsearch&lt;br /&gt;
 *&lt;br /&gt;
 * Provides the command operserv/logsearch.&lt;br /&gt;
 *&lt;br /&gt;
 * Used to search services log files.&lt;br /&gt;
 */&lt;br /&gt;
module&lt;br /&gt;
{&lt;br /&gt;
        name = &amp;quot;os_logsearch&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /* The log file name to search. There should be a log{} block configured to log&lt;br /&gt;
         * to a file of this name.&lt;br /&gt;
         */&lt;br /&gt;
        logname = &amp;quot;services.log&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
command { service = &amp;quot;OperServ&amp;quot;; name = &amp;quot;LOGSEARCH&amp;quot;; command = &amp;quot;operserv/logsearch&amp;quot;; permission = &amp;quot;operserv/logsearch&amp;quot;; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	</feed>