<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Sudhir Meduri さんのアクティビティ</title><link>https://www.aras.com/community/members/sudhir_4000_sbevision.com</link><description>Sudhir Meduri さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Server logging for Aras 31</title><link>https://www.aras.com/community/f/community/55358/server-logging-for-aras-31</link><pubDate>Fri, 29 Nov 2024 17:52:08 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:aa12e8a6-96f3-4ff4-8b56-16f97d87e85e</guid><dc:creator>Sudhir Meduri</dc:creator><description>&lt;p&gt;Hello Experts,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As the&amp;nbsp;title says, we are on Aras 31 and building some custom code in a dll, trying to understand the new way of logging in C# classes&lt;/p&gt;
&lt;p&gt;Looking at the release notes&amp;nbsp;&lt;a href="https://media.aras.com/wp-content/uploads/2024/04/Aras-Innovator-14-Release-Notes.pdf"&gt;here&lt;/a&gt;, there is a new way to add logs, the extract from that document&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ASP.NET Core native logging mechanism (ILogger and ILoggerFactory) is available in CallContext public object. This mechanism uses server&amp;#39;s log configuration and writes server methods logs along with other server&amp;#39;s logs. Developers of server methods should use this mechanism for new development. Old public log API in CallContext is depracated with appropriate messages and will be removed in the future&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We could not find any documentation on this, the below is the sample we tried but it does not work&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;CallContext CCO = ((IOMConnection)_inn.getConnection()).CCO;
ILogger _logger = CCO.Logger;
_logger.LogDebug(&amp;quot;Print something&amp;quot;);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do we have an example on how this can be configured?&lt;/p&gt;
&lt;p&gt;Can someone please point me in the right direction on this, thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Let me Help You</title><link>https://www.aras.com/community/achievements/687f4b6d-e18a-4e55-836c-49926ca2c9d9</link><pubDate>Thu, 08 May 2025 13:01:49 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:30db7e87-d94f-4b6a-b623-13b0f68cbc6d</guid><dc:creator /><description>Answer a question that is verified as helpful or correct.</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Fri, 29 Nov 2024 17:52:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:27eed8f2-1148-49ad-ae1e-46b20b2ec08d</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>