<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:07:18 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-67100] MongoDB Log file size issue</title>
                <link>https://jira.mongodb.org/browse/SERVER-67100</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We are using MongoDB 4.0.4 version for our project. The database configuration is done as below:&lt;br/&gt;
1. Created a custom database in MongoDB and the service is running in authentication mode.&#160;&lt;br/&gt;
2. Using Windows systems (Server and Desktop both)&lt;br/&gt;
We have observed that the MongoDB log file size gets increased over the period and consumes disk space in GBs. Mongo creates a new log file only after the MongoDB service is rebooted. Due to the large size issue, we want to do either:&lt;br/&gt;
1. Control the entries in the log file (We have tried by setting different verbose levels)&lt;br/&gt;
2. Use logrotate command (The command doesn&apos;t work on Windows as intended, though we have read it on forums that it supports only Linux)&lt;br/&gt;
3. Delete log files (We can manually delete all log files, but when we try to delete it programmatically through windows service, it only deletes backup files, but the active file gives an error as file in use)&lt;br/&gt;
Is there any other solution that we can try? Thanks in advance.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2064181">SERVER-67100</key>
            <summary>MongoDB Log file size issue</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="edwin.zhou@mongodb.com">Edwin Zhou</assignee>
                                    <reporter username="ndchavan4289@gmail.com">Nandkishor Chavan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Jun 2022 08:59:55 +0000</created>
                <updated>Tue, 30 Aug 2022 15:09:44 +0000</updated>
                            <resolved>Tue, 30 Aug 2022 15:09:44 +0000</resolved>
                                    <version>4.0.4</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4788465" author="JIRAUSER1257066" created="Tue, 30 Aug 2022 15:09:34 +0000"  >&lt;p&gt;We haven&#8217;t heard back from you for some time, so I&#8217;m going to close this ticket. If this is still an issue for you, please provide additional information and we will reopen the ticket.&lt;/p&gt;</comment>
                            <comment id="4756983" author="JIRAUSER1257066" created="Wed, 17 Aug 2022 11:55:33 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ndchavan4289%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;ndchavan4289@gmail.com&quot;&gt;ndchavan4289@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We still need additional information to diagnose the problem. If this is still an issue for you, would you please upgrade to MongoDB v4.2+ and see if this problem persists?&lt;/p&gt;

&lt;p&gt;Best,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                            <comment id="4671273" author="JIRAUSER1257066" created="Mon, 11 Jul 2022 17:40:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ndchavan4289%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;ndchavan4289@gmail.com&quot;&gt;ndchavan4289@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for your patience while I investigate this issue.&lt;/p&gt;

&lt;p&gt;Log rotation was added for Windows in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2612&quot; title=&quot;support logRotate under windows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2612&quot;&gt;&lt;del&gt;SERVER-2612&lt;/del&gt;&lt;/a&gt; and resolved in 2.1. &lt;/p&gt;

&lt;p&gt;MongoDB v4.0 &lt;a href=&quot;https://www.mongodb.com/support-policy/legacy&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;reached end of life in April 2022&lt;/a&gt; and is no longer supported. Can you please upgrade to MongoDB v4.2+ and see if this problem persists?&lt;/p&gt;

&lt;p&gt;Alternatively, we&apos;ve &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18335?focusedCommentId=2108137&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-2108137&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;previously recommended handling log rotation using &lt;tt&gt;logrotate&lt;/tt&gt;&lt;/a&gt;, a common configurable daemon available on Linux, &lt;a href=&quot;https://formulae.brew.sh/formula/logrotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;macOS&lt;/a&gt;, and &lt;a href=&quot;https://chocolatey.org/packages/LogRotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Windows&lt;/a&gt;.&lt;br/&gt;
or more information about rotating log files, see &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/rotate-log-files/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/rotate-log-files/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For more information about logrotate, see:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://linux.die.net/man/8/logrotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://linux.die.net/man/8/logrotate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.archlinux.org/index.php/logrotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.archlinux.org/index.php/logrotate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://formulae.brew.sh/formula/logrotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://formulae.brew.sh/formula/logrotate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://chocolatey.org/packages/LogRotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://chocolatey.org/packages/LogRotate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/logrotate/logrotate&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/logrotate/logrotate&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Best,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Jul 2022 17:40:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 23 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>edwin.zhou@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>edwin.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>ndchavan4289@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0xu7r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0gpkw:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[edwin.zhou@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0xgd3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>