<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Project LogRotateWin</title><link>https://sourceforge.net/p/logrotatewin/</link><description>Recent changes to Project LogRotateWin</description><atom:link href="https://sourceforge.net/p/logrotatewin/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 11 Nov 2024 08:54:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/logrotatewin/feed.rss" rel="self" type="application/rss+xml"/><item><title>Do I run LogRotateWin as a service or as a scheduled task?</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/9f8c26c275/?limit=50#7a22</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;How do you recoomend that I run it?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Lundin</dc:creator><pubDate>Mon, 11 Nov 2024 08:54:15 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta638f647d3fc2d40f2a28a4ece3eecef95e48a2e</guid></item><item><title>Puzzling error message from logrotate</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/ea05616020/?limit=25#34a3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fpr anyone else reading this, I stumbled on the solution.  The opening brace on a section must be at the end of the line instead of the next line.&lt;/p&gt;
&lt;p&gt;I suggest that the parser be improved to handle this.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Howard Spindel</dc:creator><pubDate>Tue, 14 Feb 2023 07:17:20 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta17f2aa2d893667b0b2372813d909374ade2bf1e</guid></item><item><title>Puzzling error message from logrotate</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/ea05616020/?limit=25#3342</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here is my config file:&lt;/p&gt;
&lt;p&gt;compress&lt;br/&gt;
nosmtpssl&lt;br/&gt;
smtpfrom howard@sci1.com&lt;br/&gt;
smtpport 25&lt;br/&gt;
smtpserver mail.sci1.com&lt;br/&gt;
ifempty&lt;br/&gt;
missingok&lt;/p&gt;
&lt;p&gt;e:\FastvueSyslog\dhcp2.sci1.com\dhcp2.sci1.com.log&lt;br/&gt;
{&lt;br/&gt;
rotate 5&lt;br/&gt;
weekly&lt;br/&gt;
mail howard@sci1.com&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;Pretty simple. When I run logrotate, I get an error:&lt;/p&gt;
&lt;p&gt;logrotate: Unknown directive e:\FastvueSyslog\dhcp2.sci1.com\dhcp2.sci1.com.log&lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Howard Spindel</dc:creator><pubDate>Tue, 14 Feb 2023 07:08:19 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net31dde4ea5fb1757b4d4fd86fd2084e2f95a9a9b2</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/logrotatewin/wiki/Home/?limit=25#9f83/9a39</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For a test run, use logrotate -d &amp;lt;configfile&amp;gt;&amp;lt;/configfile&amp;gt;&lt;/p&gt;
&lt;p&gt;That will give you debugging output about what logrotate would do if it ran.  No files will be affected.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Howard Spindel</dc:creator><pubDate>Mon, 13 Feb 2023 07:24:50 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf3ccdec4ea3a13516eccc706eb8f724c03684ef8</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/logrotatewin/wiki/Home/?limit=25#5035</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here is my config file:&lt;/p&gt;
&lt;p&gt;compress &lt;br/&gt;
nosmtpssl&lt;br/&gt;
smtpfrom howard@sci1.com&lt;br/&gt;
smtpport 25&lt;br/&gt;
smtpserver mail.sci1.com&lt;br/&gt;
ifempty&lt;br/&gt;
missingok&lt;/p&gt;
&lt;p&gt;e:\FastvueSyslog\dhcp2.sci1.com\dhcp2.sci1.com.log&lt;br/&gt;
{&lt;br/&gt;
    rotate 5&lt;br/&gt;
    weekly&lt;br/&gt;
    mail howard@sci1.com&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;Pretty simple.  When I run logrotate, I get an error:&lt;/p&gt;
&lt;p&gt;logrotate: Unknown directive e:\FastvueSyslog\dhcp2.sci1.com\dhcp2.sci1.com.log&lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Howard Spindel</dc:creator><pubDate>Mon, 13 Feb 2023 03:15:50 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net90c0b57758835b5be416c33936a0a6afa34af704</guid></item><item><title>notifempty option is not working</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/e58e0f51/?limit=25#60c3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem is still reproduced on the latest version.&lt;/p&gt;
&lt;p&gt;My logrotate config:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;compress

C:\logs\*.log {
  weekly
  rotate 4
  missingok
  dateext
  notifempty
}
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Results:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&amp;amp; 'C:\Program Files (x86)\Ken Salter\LogRotate\logrotate.exe' -d -f -v C:\logrotate.d --state C:\logrotate.status

logrotate: Debug option set to true
logrotate: Verbose option set to true
logrotate: Force option set to true
logrotate: logrotate 0.0.0.18 - Copyright  (C) 2012-2016 Ken Salter
logrotate: Verbose option set to true
logrotate: C:\logrotate.d Adding to config files to process
logrotate: Setting alternate state file to C:\logrotate.status
logrotate: Parsing configuration file C:\logrotate.d\app.conf
logrotate: read line # Ansible managed
logrotate: Skipping comment
logrotate: read line
logrotate: read line compress
logrotate: Setting compress to True
logrotate: read line
logrotate: read line C:\logs\*.log {
logrotate: Processing new section
logrotate: Will process file path C:\logs\*.log
logrotate: read line weekly
logrotate: Setting weekly to True
logrotate: read line rotate 4
logrotate: Setting rotate to 4
logrotate: read line missingok
logrotate: Setting missingok to True
logrotate: read line dateext
logrotate: Setting dateext to True
logrotate: read line notifempty
logrotate: Unknown directive notifempty
logrotate: read line }
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kirill</dc:creator><pubDate>Tue, 21 Dec 2021 10:15:11 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netddecd79b389128a0c640ec1931d42aeb722c24f9</guid></item><item><title>Unknown directive extension</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/a1a7c84c/?limit=100#9e79</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;confirmed with v0.0.0.18&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Sun, 14 Nov 2021 16:02:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf0c4818428b20057dc676b5615417f264c3d086f</guid></item><item><title>Discussion for LogRotate page</title><link>https://sourceforge.net/p/logrotatewin/wiki/LogRotate/?limit=100#4ded</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We have to manually create scheduling tasks for this to work, correct?&lt;br/&gt;
Also, what is &lt;code&gt;logrotate.exe.config&lt;/code&gt; file in the root of installation directory?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">V@no</dc:creator><pubDate>Sun, 14 Nov 2021 15:50:28 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netfb26ae5ad6221d1b765c33473251c39e655e907c</guid></item><item><title>logrotate: Unable to parse test as an int32, skipping...</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/f7f29aca0b/?limit=25#2b79</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tried same thing in cmd as admin and getting different error:&lt;/p&gt;
&lt;p&gt;C:\Program Files (x86)\Ken Salter\LogRotate&amp;gt;.\logrotate.exe -f -d -v 'C:\Program Files (x86)\Ken Salter\LogRotate\Content\logrotate.conf'&lt;br/&gt;
logrotate: Force option set to true&lt;br/&gt;
logrotate: Debug option set to true&lt;br/&gt;
logrotate: Verbose option set to true&lt;br/&gt;
logrotate: logrotate 0.0.0.18 - Copyright  (C) 2012-2016 Ken Salter&lt;br/&gt;
logrotate: Verbose option set to true&lt;br/&gt;
logrotate: 'C:\Program Adding to config files to process&lt;br/&gt;
logrotate: Files Adding to config files to process&lt;br/&gt;
logrotate: (x86)\Ken Adding to config files to process&lt;br/&gt;
logrotate: Salter\LogRotate\Content\logrotate.conf' Adding to config files to process&lt;br/&gt;
logrotate: Exception: The given path's format is not supported.&lt;br/&gt;
logrotate: StackTrace:    at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)&lt;br/&gt;
   at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)&lt;br/&gt;
   at System.IO.File.GetAttributes(String path)&lt;br/&gt;
   at logrotate.Program.ProcessConfigPath(String m_path)&lt;br/&gt;
   at logrotate.Program.Main(String[] args)&lt;/p&gt;
&lt;p&gt;C:\Program Files (x86)\Ken Salter\LogRotate&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rahul Dankhara</dc:creator><pubDate>Fri, 12 Apr 2019 09:51:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net196c4b75c4fd88ca377f98acef2aac4ffaa7783d</guid></item><item><title>logrotate: Unable to parse test as an int32, skipping...</title><link>https://sourceforge.net/p/logrotatewin/discussion/general/thread/f7f29aca0b/?limit=25#7a54</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;After changing path in ogrotate.conf as below, the int32 error went off but still it is not rotating test file.&lt;br/&gt;
...................&lt;br/&gt;
C:\logs path contains below files&lt;/p&gt;
&lt;p&gt;test.log&lt;br/&gt;
testing.log&lt;br/&gt;
......................&lt;/p&gt;
&lt;p&gt;C:\logs\test* {&lt;br/&gt;
daily&lt;br/&gt;
rotate 10&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;....................................................&lt;br/&gt;
PS C:\Program Files (x86)\Ken Salter\LogRotate&amp;gt; .\logrotate.exe -f -v -d 'C:\Program Files (x86)\Ken Salter\LogRotate\Content\logrotate.conf'&lt;br/&gt;
logrotate: Force option set to true&lt;br/&gt;
logrotate: logrotate 0.0.0.18 - Copyright  (C) 2012-2016 Ken Salter&lt;br/&gt;
logrotate: Verbose option set to true&lt;br/&gt;
logrotate: Debug option set to true&lt;br/&gt;
logrotate: Verbose option set to true&lt;br/&gt;
logrotate: C:\Program Files (x86)\Ken Salter\LogRotate\Content\logrotate.conf Adding to config files to process&lt;br/&gt;
logrotate: Parsing configuration file C:\Program Files (x86)\Ken Salter\LogRotate\Content\logrotate.conf&lt;br/&gt;
logrotate: read line # sample logrotate configuration file&lt;br/&gt;
logrotate: Skipping comment&lt;br/&gt;
logrotate: read line&lt;br/&gt;
logrotate: read line # uncomment to enable compression of rotated log files&lt;br/&gt;
logrotate: Skipping comment&lt;br/&gt;
logrotate: read line # compress&lt;br/&gt;
logrotate: Skipping comment&lt;br/&gt;
logrotate: read line&lt;br/&gt;
logrotate: read line # this example will rotate the c:\test.log file daily and keep 5 rotations.&lt;br/&gt;
logrotate: Skipping comment&lt;br/&gt;
logrotate: read line # there is also an example prerotate script that will print the current time and the parameter passed to it (which is the path to the log file)&lt;br/&gt;
logrotate: Skipping comment&lt;br/&gt;
logrotate: read line C:\logs\test&lt;em&gt; {&lt;br/&gt;
logrotate: Processing new section&lt;br/&gt;
logrotate: Will process file path C:\logs\test&lt;/em&gt;&lt;br/&gt;
logrotate: read line daily&lt;br/&gt;
logrotate: Setting daily to True&lt;br/&gt;
logrotate: read line rotate 10&lt;br/&gt;
logrotate: Setting rotate to 10&lt;br/&gt;
logrotate: read line }&lt;br/&gt;
logrotate: read line&lt;br/&gt;
logrotate: Processing C:\logs\test*&lt;br/&gt;
logrotate: Processing C:\logs\test.log.txt&lt;br/&gt;
logrotate: Force option is set, will rotate&lt;br/&gt;
logrotate: Processing C:\logs\testing.log.txt&lt;br/&gt;
logrotate: Force option is set, will rotate&lt;br/&gt;
logrotate: Rotating file C:\logs\test.log.txt&lt;br/&gt;
logrotate: Rotate will be simulated because Debug is true&lt;br/&gt;
logrotate: Renaming C:\logs\test.log.txt to C:\logs\test.log.txt.1&lt;br/&gt;
logrotate: Compressing rotated log file C:\logs\test.log.txt.1&lt;br/&gt;
logrotate: Rotating file C:\logs\testing.log.txt&lt;br/&gt;
logrotate: Rotate will be simulated because Debug is true&lt;br/&gt;
logrotate: Renaming C:\logs\testing.log.txt to C:\logs\testing.log.txt.1&lt;br/&gt;
logrotate: Compressing rotated log file C:\logs\testing.log.txt.1&lt;br/&gt;
..............................................&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rahul Dankhara</dc:creator><pubDate>Fri, 12 Apr 2019 09:40:52 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net39425aa12a63201058c3214cd34aebf865e77545</guid></item></channel></rss>