none
Robotdashboards service flooding log RRS feed

  • Question

  • We have just gotten an Eddie to start testing with, and i got him running with the robot dashboard. With this i can drive it around and it has some basic collision detection.

    However, when i run eddie, a log is created in C:\Users\******\Microsoft Robotics Dev Studio 4\bin\store\logs\robotdashboard that just gets filled really fast (upto multiple gigabytes of data) and i cannot seem to be able to find what the culprit is. I think it has something to do with the kinect data that gets saved to the disk as a log but i cannot get it disabled.

    Anyone else who has encountered this problem or have any idea what the problem might be?

    Monday, October 21, 2013 7:33 AM

Answers

  • Hi Ken,

    Unfortunately, I do not have an Eddie to troubleshoot in greater detail.  However, this might help...

    There are switches in the DssHost.exe.config file that address logging.  Here is a snippet of said switches:

        <switches>
          <!-- Network tracing
                value Description  
                0 Off—disables tracing
                1 Critical events are logged
                2 Errors are logged
                4 Warnings are logged
                8 Method call entry and exit is logged.
                16 Network traffic is logged. 
                -->
          <add name="System.Net.Sockets" value="1"/>
          <add name="System.Net" value="1"/>
          <add name="System.Net.Cache" value="1"/>
          <!-- DSS Trace switch values: Off 0, Error 1, Warning 2, Info 3, Verbose 4 -->
          <add name="Microsoft.Ccr.Core" value="2"/>
          <add name="Microsoft.Dss.Core" value="3"/>
          <add name="Microsoft.Dss.Services.TestBase" value="3"/>
          <add name="Microsoft.Dss.Services" value="3"/>
          <add name="Microsoft.Dss.Services.Transports" value="2"/>
          <add name="Microsoft.Dss.Services.Forwarders" value="2"/>
        </switches>
        <!-- Here you can set up logging -->
        <trace autoflush="true"/>

    Perhaps manipulating these might prevent your robotdashboard log file from growing uncontrollably.  Hope this helps :-)


    Dennis M. Knippel

    Tuesday, October 22, 2013 12:05 AM
    Moderator

All replies

  • Hi Ken,

    Unfortunately, I do not have an Eddie to troubleshoot in greater detail.  However, this might help...

    There are switches in the DssHost.exe.config file that address logging.  Here is a snippet of said switches:

        <switches>
          <!-- Network tracing
                value Description  
                0 Off—disables tracing
                1 Critical events are logged
                2 Errors are logged
                4 Warnings are logged
                8 Method call entry and exit is logged.
                16 Network traffic is logged. 
                -->
          <add name="System.Net.Sockets" value="1"/>
          <add name="System.Net" value="1"/>
          <add name="System.Net.Cache" value="1"/>
          <!-- DSS Trace switch values: Off 0, Error 1, Warning 2, Info 3, Verbose 4 -->
          <add name="Microsoft.Ccr.Core" value="2"/>
          <add name="Microsoft.Dss.Core" value="3"/>
          <add name="Microsoft.Dss.Services.TestBase" value="3"/>
          <add name="Microsoft.Dss.Services" value="3"/>
          <add name="Microsoft.Dss.Services.Transports" value="2"/>
          <add name="Microsoft.Dss.Services.Forwarders" value="2"/>
        </switches>
        <!-- Here you can set up logging -->
        <trace autoflush="true"/>

    Perhaps manipulating these might prevent your robotdashboard log file from growing uncontrollably.  Hope this helps :-)


    Dennis M. Knippel

    Tuesday, October 22, 2013 12:05 AM
    Moderator
  • I have tried setting these switches but i still get the log filling really fast. It seems that it creates 2 files as well instead of just 1, 1 being in the main logs folder and one in the robotdashboard folder within this folder.
    Tuesday, October 22, 2013 6:43 AM
  • Hi Ken, what's in those logs?

    As Dennis suggested, those are probably DSS logs: http://msdn.microsoft.com/en-us/library/bb608245.aspx

    You should be able to control those from dsshost.exe.config (or dsshost32.exe.config, depending on which one you are using) 

    Monday, October 28, 2013 9:21 AM
    Moderator