Obsolete warning for Innovator 11.0 SP11

Hello, I have a C# server side method that gives me an obsolete warning. Code: innovator.getConnection().DebugLog(MethodName,"Sending Mail..."); Warning: Line number 84, Warning Number: CS0618, 'Aras.Server.Core.Utilities.WriteDebug(string, string)' is obsolete: 'Obsolete since 11.0 SP11. Use CallContext.Logger.WriteDebug(string, string)' Anyone know how to implement the new method and where the log file ends up? Thanks, Frank
Parents
  • Hi Frank, Looking at our internal records, it appears that while this compilation warning indicates that the WriteDebug function is obsolete, it should still work when you run the method. You can safely ignore this compilation warning for now. To answer your second question, the DebugLog function prints to a log file that appears in the \Innovator\Server\logs\ folder of your install directory. However, this log file only appears if you edit the InnovatorServerConfig.xml file at the root of your install directory and set the debug_log_flag operating parameter to true. <operating_parameter key="debug_log_flag" value="false"/> Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hi Frank, Looking at our internal records, it appears that while this compilation warning indicates that the WriteDebug function is obsolete, it should still work when you run the method. You can safely ignore this compilation warning for now. To answer your second question, the DebugLog function prints to a log file that appears in the \Innovator\Server\logs\ folder of your install directory. However, this log file only appears if you edit the InnovatorServerConfig.xml file at the root of your install directory and set the debug_log_flag operating parameter to true. <operating_parameter key="debug_log_flag" value="false"/> Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data