<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SquidGuard - squidguard_log.php - does not show all line (offset problem !?)]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have some problems with the number of lines in the "Blocked" section of squidguard.<br />
I increased the time of the logrotation from "every day" up to "every sunday" in the squidguard_configurator.inc. There a cron job will created.<br />
After that I changes the little part which creates the batch file which will run the logrotate. I changed the number of lines from 1000 up to 20000.</p>
<p dir="auto">I checked this log file:</p>
<pre><code>/var/squidGuard/log/block.log
</code></pre>
<p dir="auto">And it has more than 1700 lines.</p>
<p dir="auto">If I go to SERVICES -&gt; PROXY FILTER -&gt; LOG -&gt; Blocked<br />
I can just see the lines 0-49, 50-99, 100-149 - not more.</p>
<p dir="auto">I chnged the offset from 50 up to 500 in</p>
<pre><code>/usr/local/www/squidGuard/squidguard_log.php
</code></pre>
<p dir="auto">Now I can just see the lines 0-499 - not more.</p>
<p dir="auto">Can anybody help me with that ? I just really want to see all the lines from the last week.</p>
<p dir="auto">Thank you for your help in advance!</p>
]]></description><link>https://forum.netgate.com/topic/45968/squidguard-squidguard_log-php-does-not-show-all-line-offset-problem</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 11:04:15 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/45968.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 16 Jun 2012 16:29:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SquidGuard - squidguard_log.php - does not show all line (offset problem !?) on Sun, 24 Jun 2012 18:34:49 GMT]]></title><description><![CDATA[<p dir="auto">Increasing the buffersize helped to 2097152 bytes (2MB) helped. I can now watch ~1500 entries.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dvserg">@<bdi>dvserg</bdi></a><br />
Limiting the size is very important and a good thing. But I do have so many entries in the "blocked" file that I am not able to watch back more than one day. That's the reason why I would like to increase the buffer a little bit. Perhaps you can find a way to implement an option to modify the buffer size and the lines in the logfile when doing a logrotate.</p>
<p dir="auto">Thanks both of you for your help!</p>
]]></description><link>https://forum.netgate.com/post/343716</link><guid isPermaLink="true">https://forum.netgate.com/post/343716</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Sun, 24 Jun 2012 18:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to SquidGuard - squidguard_log.php - does not show all line (offset problem !?) on Sun, 24 Jun 2012 17:22:46 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure what is required viewing of all the log. This requires more system resources for large logs.</p>
]]></description><link>https://forum.netgate.com/post/343701</link><guid isPermaLink="true">https://forum.netgate.com/post/343701</guid><dc:creator><![CDATA[dvserg]]></dc:creator><pubDate>Sun, 24 Jun 2012 17:22:46 GMT</pubDate></item><item><title><![CDATA[Reply to SquidGuard - squidguard_log.php - does not show all line (offset problem !?) on Sun, 24 Jun 2012 16:35:43 GMT]]></title><description><![CDATA[<p dir="auto">Just a guess but it might be this in squidguard.inc (around line 1267)</p>
<pre><code>define('LOGSHOW_BUFSIZE', '65536');
</code></pre>
<p dir="auto">It only reads that many bytes of the log file, if I'm reading the code right.</p>
]]></description><link>https://forum.netgate.com/post/343696</link><guid isPermaLink="true">https://forum.netgate.com/post/343696</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Sun, 24 Jun 2012 16:35:43 GMT</pubDate></item></channel></rss>