<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: Event Logging</title>
        <description> I am using Phorum 5.2.7 and wondered why my weekly Phorum database backups for a single phorum installation have already grown to about 3.3 GB!

So I checked which table was the biggest and saw, that the _event_logging table had already collected about 4.500.000 (!) entries, although I had set up &amp;quot;Maximum amount of stored event logs&amp;quot; to 500 (Debug level, every event option checked).

Is this a known issue?</description>
        <link>https://www.phorum.org/support/read.php?62,133303,133303#msg-133303</link>
        <lastBuildDate>Sat, 08 Aug 2026 08:53:38 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,162697#msg-162697</guid>
            <title>Re: Module: Event Logging = IPV6 IP addresses truncated to 15  chars</title>
            <link>https://www.phorum.org/support/read.php?62,133303,162697#msg-162697</link>
            <description><![CDATA[ I solved my own problem. It was a client issue. My web browser was blocking them with the Ghostery extension.]]></description>
            <dc:creator>Steve H</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 19 Jul 2022 22:18:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,162696#msg-162696</guid>
            <title>Re: Module: Event Logging = IPV6 IP addresses truncated to 15  chars</title>
            <link>https://www.phorum.org/support/read.php?62,133303,162696#msg-162696</link>
            <description><![CDATA[ I am having an issue with the latest version of this module (and phorum)<br />
<br />
The small icons for Debug/Info/Warning/Error/Alert which reside in mods/event_logging/images/loglevels/ are not displaying on the &quot;view logged events&quot; and &quot;filter logged events&quot; pages.  However, if I right-click the broken links and select &quot;open image in new tab&quot; they open up fine.<br />
<br />
???]]></description>
            <dc:creator>Steve H</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 19 Jul 2022 18:58:03 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,156148#msg-156148</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,156148#msg-156148</link>
            <description><![CDATA[ Oops ! Sorry for the late answer !<br />
Many thanks to Oliver for correcting the event_logging module so that it can correctly display long IPV6 addresses.<br />
<br />
I&#039;ll try the new version 1.0.9<br />
<br />
THANKS!]]></description>
            <dc:creator>Emmanuel Bigler</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 05 Oct 2015 06:28:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,156050#msg-156050</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,156050#msg-156050</link>
            <description><![CDATA[ Hi deepvision,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>deepvision</strong><br />
I am using the latest phorum and the latest event logging module and keep getting <br />
<pre class="bbcode">
You are accessing the admin after a security timeout.</pre>
every time I click on an event source link in the event log. Even if I opened the event list only a second ago every time I click on any event source link I get the message above.</div></blockquote>
<br />
I corrected this bug in version 1.0.9.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 10 Sep 2015 08:11:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,156049#msg-156049</guid>
            <title>Re: Module: Event Logging = IPV6 IP addresses truncated to 15  chars</title>
            <link>https://www.phorum.org/support/read.php?62,133303,156049#msg-156049</link>
            <description><![CDATA[ Hi Emmanuel,<br />
<br />
you are using version 1.0.7. There was a wrong version number in one of the module files.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Emmanuel Bigler</strong><br />
I have noticed in event logs that IPV6 logged IP addresses are truncated to 15 characters like for an IPV4.<br />
IPV6 addresses show up correctly to moderators in posted messages, but not in event logging.<br />
IPV6 addresses need something like 39 characters.</div></blockquote>
<br />
The database column for the ip address has only 15 characters. ipv6 needs up to 45 characters.<br />
<br />
I updated the Event Logging Module to version 1.0.8.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 10 Sep 2015 07:31:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,155739#msg-155739</guid>
            <title>Re: Module: Event Logging = IPV6 IP addresses truncated to 15  chars</title>
            <link>https://www.phorum.org/support/read.php?62,133303,155739#msg-155739</link>
            <description><![CDATA[ Hello from France<br />
This is my first post here.<br />
<br />
I&#039;m using Phorum version 5.2.19 with Event Logging version 1.0.8<br />
<br />
I have noticed in event logs that IPV6 logged IP addresses are truncated to 15 characters like for an IPV4.<br />
IPV6 addresses show up correctly to moderators in posted messages, but not in event logging.<br />
IPV6 addresses need something like 39 characters.<br />
<br />
How can this be corrected? Thanks !]]></description>
            <dc:creator>Emmanuel Bigler</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 30 Apr 2015 08:27:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,155275#msg-155275</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,155275#msg-155275</link>
            <description><![CDATA[ Thomas<br />
<br />
I can confirm there is an issue with event logging in 5.2.1.9.  I also did a fresh install that has the issue.<br />
I am unable to determine the cause.<br />
<br />
To reproduce.<br />
Admin / Mods<br />
Enable the Event Logging module... Save<br />
On the Event Logging Settings page... Save<br />
Do something to create an event, I logged in to the Phorum from another browser. <br />
Go to View Logged Events<br />
<br />
<br />
Click on a Source or Category link to refine the filter... <br />
or open a Detail and click on an IP to refine the filter.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 24 Aug 2014 13:23:40 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,155075#msg-155075</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,155075#msg-155075</link>
            <description><![CDATA[ I haven&#039;t looked at how that code works, but I suspect you may have a cookie issue.<br />
My session times out about 5 minutes.]]></description>
            <dc:creator>Scott Finegan</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 06 Jun 2014 12:36:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,155073#msg-155073</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,155073#msg-155073</link>
            <description><![CDATA[ I am using the latest phorum and the latest event logging module and keep getting <br />
<pre class="bbcode">
You are accessing the admin after a security timeout.</pre>
every time I click on an event source link in the event log. Even if I opened the event list only a second ago every time I click on any event source link I get the message above.]]></description>
            <dc:creator>deepvision</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 06 Jun 2014 01:09:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152299#msg-152299</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152299#msg-152299</link>
            <description><![CDATA[ As far as I can tell my event log is now being restricted to 1000 entries.<br />
<br />
If anybody would like to have a more convenient link to the EVent Viewer in Admin, you can apply the following patch:<br />
<br />
<b>/phorum/mods/event_logging/info.txt</b><br />
add this to the bottom of the file:<br />
<pre class="bbcode">hook: admin_menu|phorum_mod_event_logging_admin_menu</pre>
<br />
<b>/phorum/mods/event_logging/event_logging.php</b><br />
add this to the bottom of the file (but before the closing ?&gt; tag!)<br />
[code=&quot;php&quot;]<br />
function phorum_mod_event_logging_admin_menu($pos)<br />
{<br />
    $menu = new PhorumAdminMenu(&quot;Events&quot;);<br />
    $menu-&gt;addCustom(<br />
        &quot;Event log&quot;,<br />
        html_entity_decode(phorum_admin_build_url(array(<br />
            &#039;module=modsettings&#039;,<br />
            &#039;mod=event_logging&#039;,<br />
            &#039;el_action=logviewer&#039;<br />
        )))<br />
    );<br />
    $pos-&gt;appendLast($menu-&gt;getHtml());<br />
    return $pos;<br />
}[/code]<br />
<br />
(I grabbed this code from [<a href="http://www.phorum.org/docs/html/" target="_blank" >www.phorum.org</a>] but please note the call to html_entity_decode(). This seems to be required as otherwise the generated link contains &amp;amp; instead of &amp;, and is therefore broken)<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 17 Oct 2012 08:09:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152240#msg-152240</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152240#msg-152240</link>
            <description><![CDATA[ That&#039;s really good to know, thanks.<br />
<br />
I can&#039;t explain why I upgraded to 5.2.19, enabled the event logger with a maximum number of entries of 1000 and had 400,000 entries the next day though?<br />
<br />
The vast majority of my errors were PHP ones caused by an old banner module that hadn&#039;t been upgraded I think.<br />
Does the transparent pixel get called on every public-facing Phorum page or only on some of them?<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 14 Oct 2012 13:34:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152231#msg-152231</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152231#msg-152231</link>
            <description><![CDATA[ in 2009 automatic garbage collection was added with a transparent pixel which does that task asynchronously.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 14 Oct 2012 04:10:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152226#msg-152226</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152226#msg-152226</link>
            <description><![CDATA[ OK, thanks - so it sounds like since this thread started, later versions of Phorum have been altered to flush the event table outside of the admin.<br />
it would be good to get a Phorum dev to comment on why this may have not worked for me. Maybe debug level is an exception?<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 13 Oct 2012 18:30:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152224#msg-152224</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152224#msg-152224</link>
            <description><![CDATA[ Minimum log level is warning<br />
<br />
Have the following items checked<br />
A moderator deletes message(s) from a forum<br />
A moderator disapproves and hides message(s)<br />
All of the - Software events (especially interesting for developers)<br />
<br />
Just had 500 records in the table on my backup machine (which I didn&#039;t read)<br />
about 20 days worth.]]></description>
            <dc:creator>DavidVonB</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 13 Oct 2012 17:44:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152221#msg-152221</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152221#msg-152221</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>David Von B</strong><br />I keep a max of 500 events and the old ones do get dropped off (this results in a 1.6M table size).</div></blockquote>
<br />
All I know is what has been said earlier in this thread:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Thomas</strong><br />hmm, deletion of logs seems to be only done on checking the logviewer in the module settings. </div></blockquote>
<br />
...and that the day after I enabled this mod I had something like 400,000 records in the event logger table (which had defaulted to run in &quot;debug&quot; mode which is maximum logging - again, I personally think there should be clearer warnings that this setting can generate a *lot* of entries).<br />
<br />
I&#039;m interested that you say your max events to log is working though. I assume you have checked this in the DB directly without going to the logviewer first? As otherwise you could have more than you realise, but the Event Viewer truncates the table when you go to view them in Phorum?<br />
If that&#039;s not the case, I&#039;d like to know why your event logging module is working how I&#039;d like mine to! :-)<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 13 Oct 2012 13:22:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152219#msg-152219</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152219#msg-152219</link>
            <description><![CDATA[ &quot;Maximum amount of stored event logs&quot; is the <b>number</b> of events that are stored, not the amount of storage to use.<br />
<br />
I feel it should be made clearer that &quot;automatically&quot; actually means &quot;when you view the logs&quot;.  - this works, I keep a max of 500 events and the old ones do get dropped off (this results in a 1.6M table size).]]></description>
            <dc:creator>DavidVonB</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 13 Oct 2012 05:13:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,152209#msg-152209</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,152209#msg-152209</link>
            <description><![CDATA[ I am a longtime contributor to these forums but have been absent since about version 5.2.9 :-(.<br />
I have recently upgraded and that went very smoothly, thank you Phorum team!<br />
<br />
However, last night I installed the StopPhorumSpam module and noticed it did logging, so I enabled the Event Logger.<br />
This morning my server had crashed as the phorum_event_logging table had eaten up all my disk quota.<br />
Like the OP, I had assumed that setting a maximum number of events to log would prevent that from happening.<br />
I&#039;ve had to spend about an hour on the phone with my provider to get a temporary quota high enough to repair all my corrupted tables and optimise phorum_event_logging back to a sane number of records.<br />
<br />
I&#039;m in no way complaining about this, I just want to warn other users to be careful.<br />
<br />
Also, I think the module popup help text should be reworded:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Phorum help text</strong><br /><b>Maximum amount of stored event logs</b><br />
This option configures the maximum amount of event logs that can be stored in the database at a given time. If the amount of event logs grows larger than this configured maximum, then old entries will be automatically cleaned up.</div></blockquote>
I feel it should be made clearer that &quot;automatically&quot; actually means &quot;when you view the logs&quot;.<br />
<br />
Also, I would like some advice on how I can still use the event logger without having to worry about disk space.<br />
Does anybody have a script I can use with a cronjob that hooks into the maximum log value set by the user and truncates the table to that value?<br />
<br />
Thank you,<br />
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 12 Oct 2012 05:39:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,135168#msg-135168</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,135168#msg-135168</link>
            <description><![CDATA[ Maybe write a cronjob that gets run once a day to remove entries older then X days?]]></description>
            <dc:creator>DJ Maze</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 30 Nov 2008 12:20:45 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133309#msg-133309</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133309#msg-133309</link>
            <description><![CDATA[ @Maurice: I agree with your explanations. :-)]]></description>
            <dc:creator>Ulf Dunkel</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 08:31:28 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133308#msg-133308</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133308#msg-133308</link>
            <description><![CDATA[ Writing it to the database is by far the best option, since it won&#039;t cause trouble with file permissions and best of all: it makes the logs searchable through SQL queries. When logging to files (e.g. to the apache error log by spitting out log messages on STDERR), we&#039;d loose the opportunity to view the log messages easily through the admin interface. And being able to view log messages in there was one of the big goals, because we get questions all the time for which we&#039;d love to see logging, but where the user does not know how to get to the PHP logging.<br />
<br />
@Azumandias: I agree, but since the module does currently not clean up the logs, my statement stands. When we make changes to do some cleanup on other occasions as well, then it&#039;s of course okay to let the logs flow. <br />
With 4.5 million entries, it looks like the module&#039;s logging info isn&#039;t really used though.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 08:21:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133307#msg-133307</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133307#msg-133307</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
of course I already switched the module OFF for now and also cleared the relevant MySQL table. But - the option to set up a maximum amount is rather irritating if it isn&#039;t used somehow, isn&#039;t it?<br />
<br />
I would appreciate if the log stuff would not be written to the MySQL table but instead into something like the well-known log files in Apache. Is this a better approach or is writing to physical files on the servers hard drive even more &quot;expensive&quot; in terms of load and time?]]></description>
            <dc:creator>Ulf Dunkel</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 07:46:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133306#msg-133306</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133306#msg-133306</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
If you do not look at the logs, then better disable the module completely.</div></blockquote>
<br />
As a sys admin I disagree with this statement.  On many of programs I have logging enabled to store a couple days worth of data.  If everything runs smoothly, I never look at the data.  However, if there is an issue, I generally hear about it within that day or two before the log data gets deleted.  Then I can confidently open the logs, knowing the data I need will be there.  I don&#039;t have a ready idea for how to balance the overhead with the need for a certain period of logs, except to have the option of saving X days of logs and deleting any older logs on every common.php load.  It might be overhead, but it should be spread out some.]]></description>
            <dc:creator>Joe Curia</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 07:29:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133305#msg-133305</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133305#msg-133305</link>
            <description><![CDATA[ Thomas is right. Handling that at log time makes the module do more queries on the front end than I&#039;d want it to. If you do not look at the logs, then better disable the module completely.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 06:15:12 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133304#msg-133304</guid>
            <title>Re: Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133304#msg-133304</link>
            <description><![CDATA[ hmm, deletion of logs seems to be only done on checking the logviewer in the module settings.<br />
guess its to expensive to run on each pageview.<br />
Maybe maurice can comment on this further.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 06:09:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,133303,133303#msg-133303</guid>
            <title>Module: Event Logging</title>
            <link>https://www.phorum.org/support/read.php?62,133303,133303#msg-133303</link>
            <description><![CDATA[ I am using Phorum 5.2.7 and wondered why my weekly Phorum database backups for a single phorum installation have already grown to about 3.3 GB!<br />
<br />
So I checked which table was the biggest and saw, that the _event_logging table had already collected about 4.500.000 (!) entries, although I had set up &quot;Maximum amount of stored event logs&quot; to 500 (Debug level, every event option checked).<br />
<br />
Is this a known issue?]]></description>
            <dc:creator>Ulf Dunkel</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 21 Sep 2008 06:02:54 -0500</pubDate>
        </item>
    </channel>
</rss>
