<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tracing debug/log from addin in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440768#M32491</link>
    <description>&lt;P&gt;There is no standard way to logging from add-in. iLogic has it's own logging system and plugin uses &lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debug.writeline?view=netframework-4.8" target="_blank" rel="noopener"&gt;Debug.WriteLine&lt;/A&gt; method and somehow handles the listeners.&lt;/P&gt;&lt;P&gt;I usually use third party logging system &lt;A href="https://logging.apache.org/log4net/" target="_blank" rel="noopener"&gt;log4net&lt;/A&gt;. It is very powerful and flexible system.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2022 08:41:44 GMT</pubDate>
    <dc:creator>Michael.Navara</dc:creator>
    <dc:date>2022-09-23T08:41:44Z</dc:date>
    <item>
      <title>Tracing debug/log from addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440148#M32489</link>
      <description>&lt;P&gt;I'd like to know the correct way to trace debug/log from my addin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;l've already succeded with tracing in iLogic&amp;nbsp; (logger.debug...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...and in plugin version (Debug.WriteLine ...+DebugView++ filter set to plugin's exe process).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I expected addin would behave like plugin (just set filter to inventor.exe) but there is nothing there...&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 23:04:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440148#M32489</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2022-09-22T23:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing debug/log from addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440764#M32490</link>
      <description>&lt;P&gt;&lt;SPAN&gt;On my config Debug.WriteLine&lt;/SPAN&gt;&amp;nbsp;works as expected only if DebugView++ was started with "Run as administrator".&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 20:20:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440764#M32490</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2022-09-29T20:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing debug/log from addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440768#M32491</link>
      <description>&lt;P&gt;There is no standard way to logging from add-in. iLogic has it's own logging system and plugin uses &lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debug.writeline?view=netframework-4.8" target="_blank" rel="noopener"&gt;Debug.WriteLine&lt;/A&gt; method and somehow handles the listeners.&lt;/P&gt;&lt;P&gt;I usually use third party logging system &lt;A href="https://logging.apache.org/log4net/" target="_blank" rel="noopener"&gt;log4net&lt;/A&gt;. It is very powerful and flexible system.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 08:41:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440768#M32491</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2022-09-23T08:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing debug/log from addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440785#M32492</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1104556"&gt;@Michael.Navara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the key feature of log4net in context of log from Inventor add-in.&lt;BR /&gt;It can filter out the given add-in only output from the complete inventor.exe output?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 08:49:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440785#M32492</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2022-09-23T08:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing debug/log from addin</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440842#M32493</link>
      <description>&lt;P&gt;Key features for me are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I can select from many &lt;A href="https://logging.apache.org/log4net/release/config-examples.html" target="_blank" rel="noopener"&gt;Appenders&lt;/A&gt;. Because my applications (like product configurators) works in different environments (desktop Inventor, JobServer, Forge Design Automation) and share one code base (single bussines logic for all), I need to change logging behavior for each deployment.&lt;/LI&gt;&lt;LI&gt;When I need to analyze some issues, I can configure different logging level for each class or command. Usually I set logging level to warning and above, but for some classes I can set verbose logging to different target (different file)&lt;/LI&gt;&lt;LI&gt;Usually I use RollingFileAppender which can split logs to multiple files on its size, date, etc.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All of the above does not require any code change. All I want to achieve with configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 09:24:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/tracing-debug-log-from-addin/m-p/11440842#M32493</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2022-09-23T09:24:24Z</dc:date>
    </item>
  </channel>
</rss>

