<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:00 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-733] mongod does not log anything when run as windows service</title>
                <link>https://jira.mongodb.org/browse/SERVER-733</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It seems mongod dose not log anything to log file when it runs as windows service. When i start the following command from cmd, it generates the logfile and starts logging. If i use the same command with --service to start the service, mongod only creates the file, but dose not append any conent.&lt;/p&gt;

&lt;p&gt;c:\MongoDb\bin\mongod --bind_ip=127.0.0.1 --dbpath=d:\MongoDb\data --logpath=d:\MongoDb\log\mongo.txt --logappend --verbose --service&lt;/p&gt;</description>
                <environment>Windows 7 x64</environment>
        <key id="11479">SERVER-733</key>
            <summary>mongod does not log anything when run as windows service</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="lanwin">Steve Wagner</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Mar 2010 07:39:34 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:12 +0000</updated>
                            <resolved>Fri, 16 Jul 2010 12:47:28 +0000</resolved>
                                    <version>1.2.4</version>
                                    <fixVersion>1.5.5</fixVersion>
                                                        <votes>4</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="15876" author="auto" created="Fri, 16 Jul 2010 12:47:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;RedBeard0531&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: require --logpath with --install &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-733&quot; title=&quot;mongod does not log anything when run as windows service&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-733&quot;&gt;&lt;del&gt;SERVER-733&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/49867d033871b20bb21f91f82bdca049c47ef4bd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/49867d033871b20bb21f91f82bdca049c47ef4bd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="15856" author="auto" created="Thu, 15 Jul 2010 20:37:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;RedBeard0531&apos;, &apos;name&apos;: &apos;Mathias Stearn&apos;, &apos;email&apos;: &apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Rejiggering of log file handling. should solve &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-733&quot; title=&quot;mongod does not log anything when run as windows service&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-733&quot;&gt;&lt;del&gt;SERVER-733&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/d0662fd5236b6fd434bb9fac06630c15d67d16f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/d0662fd5236b6fd434bb9fac06630c15d67d16f8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="15571" author="zippy1981" created="Thu, 8 Jul 2010 15:43:12 +0000"  >&lt;p&gt;More info on redirecting stdin/stdout/stderr on windows:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/redirecting-standard-io.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/redirecting-standard-io.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="15570" author="zippy1981" created="Thu, 8 Jul 2010 14:40:04 +0000"  >&lt;p&gt;SetStdHandle() seems to be the right way to implement this on windows.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms686244(VS.85).aspx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://msdn.microsoft.com/en-us/library/ms686244(VS.85).aspx&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="15411" author="zippy1981" created="Tue, 6 Jul 2010 00:48:09 +0000"  >&lt;p&gt;Can&apos;t believe I never noticed that myself that noting was going to the log file I setup. &lt;/p&gt;

&lt;p&gt;I&apos;ll try to look at that code this week see if I can write a patch.&lt;/p&gt;

&lt;p&gt;On another note, I&apos;m not sure if I like the concept of --service existing. The executable should determine if its running out of the service control manager or not. If you want to start the service via a command line &quot;net stop MongoDB&quot; works fine. I&apos;ll go consult my Windows System programming book tomorrow and see if I can implement a better SCM/Console startup pattern.&lt;/p&gt;</comment>
                            <comment id="14491" author="lanwin" created="Fri, 28 May 2010 02:53:48 +0000"  >&lt;p&gt;Hope you can fix that soon. A logfile is really need for a production mongo server on Windows.&lt;/p&gt;</comment>
                            <comment id="13139" author="eliot" created="Mon, 22 Mar 2010 14:01:41 +0000"  >&lt;p&gt;our stdout trick doesn&apos;t work on windows&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="10773">SERVER-373</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Mar 2010 14:01:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 31 weeks, 5 days 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 31 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>zippy1981</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>lanwin</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpqsv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22519</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>
                                

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

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