<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged logger</title>
<link>https://www.question2answer.org/qa/tag/logger</link>
<description>Powered by Question2Answer</description>
<item>
<title>Q2A Event logger plugin disabled but when refresh the plugin page it automatically enabled</title>
<link>https://www.question2answer.org/qa/88232/logger-plugin-disabled-refresh-plugin-automatically-enabled</link>
<description>Q2A Event logger plugin disabled but when refresh the plugin page in admin section it automatically enabled.&lt;br /&gt;
&lt;br /&gt;
First I disabled the plugin. It is then disabled successfully but when I refresh the plugin page then I see it is enabled automatically again.&lt;br /&gt;
&lt;br /&gt;
Please help me how to resolve the issue.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/88232/logger-plugin-disabled-refresh-plugin-automatically-enabled</guid>
<pubDate>Thu, 08 Oct 2020 19:42:39 +0000</pubDate>
</item>
<item>
<title>Event Logger Plugin Sometimes generate  error log. How to I solve it? Incorrect string value: '\xE0\xA6...\x09...'?</title>
<link>https://www.question2answer.org/qa/68886/event-logger-plugin-sometimes-generate-error-incorrect-string</link>
<description>

&lt;p&gt;Event Logger Plugin Sometimes generate&amp;nbsp; error log. How to I solve it&lt;/p&gt;

&lt;pre&gt;PHP Question2Answer MySQL query error 1366: Incorrect string value: '\xE0\xA6...\x09...' for column 'params' at row 1 - Query: INSERT INTO &lt;/pre&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/68886/event-logger-plugin-sometimes-generate-error-incorrect-string</guid>
<pubDate>Fri, 02 Nov 2018 19:38:12 +0000</pubDate>
</item>
<item>
<title>what is important &quot;event logger&quot; plugin?</title>
<link>https://www.question2answer.org/qa/61373/what-is-important-event-logger-plugin</link>
<description>

&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;I was getting lot of error messages with event logger plugin so I deleted it and now everything works fine. Now, will be any problem of my site ?&lt;/span&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/61373/what-is-important-event-logger-plugin</guid>
<pubDate>Sun, 17 Dec 2017 03:08:02 +0000</pubDate>
</item>
<item>
<title>Is there any logger function available in q2a core?</title>
<link>https://www.question2answer.org/qa/33290/is-there-any-logger-function-available-in-q2a-core</link>
<description>How could I log some information in plugins using core functions? Is there such a feature in q2a core?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/33290/is-there-any-logger-function-available-in-q2a-core</guid>
<pubDate>Thu, 03 Apr 2014 21:04:45 +0000</pubDate>
</item>
<item>
<title>Tip: How to parse the params from qa_eventlog</title>
<link>https://www.question2answer.org/qa/18919/tip-how-to-parse-the-params-from-qa_eventlog</link>
<description>

&lt;p&gt;
	I found a nice &quot;workaround&quot; that will help other plugin developers that need to parse the parameters (column &lt;strong&gt;params&lt;/strong&gt;) from table &lt;strong&gt;qa_eventlog&lt;/strong&gt; to an associative array:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;$queryRecentEvents = mysql_query(&quot;SELECT datetime,ipaddress,handle,event,params
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM `qa_eventlog`
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE datetime &amp;gt; NOW() - INTERVAL 8 HOUR
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORDER BY datetime DESC
&lt;br&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;);
&lt;br&gt;
	while($row = mysql_fetch_assoc($queryRecentEvents)) {
&lt;br&gt;
	
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;// convert tab jumps to &amp;amp; to be able to use query function&lt;/span&gt;
&lt;br&gt;
	&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; $toURL = str_replace(&quot;\t&quot;,&quot;&amp;amp;&quot;,$row['params']);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; // parse as URL
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; parse_str($toURL, $data);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; // access keys in array
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; $postid = $data['postid'];&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; // ... do what you like&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/18919/tip-how-to-parse-the-params-from-qa_eventlog</guid>
<pubDate>Mon, 05 Nov 2012 04:16:33 +0000</pubDate>
</item>
</channel>
</rss>