multiple cases and changes (whups forgot to commit)
cases 3664, 3663, 3520 (redux)
This commit is contained in:
@@ -169,6 +169,9 @@ namespace AyaNova
|
||||
|
||||
private void copyExtendedSupportInfoToClipboardToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//case 3663
|
||||
Util.LogFullSupportInfoToFile();
|
||||
|
||||
StringBuilder sbInfo = new StringBuilder();
|
||||
string currentAssemblyDirectoryName = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||
//sbInfo.Append("Tech support info\r\n=-=-=-=-=-=-=-=-=-\r\n");
|
||||
@@ -226,6 +229,19 @@ namespace AyaNova
|
||||
|
||||
}
|
||||
|
||||
//case 3664 get integration log
|
||||
sbInfo.Append("\r\n\r\n\r\n");
|
||||
|
||||
|
||||
//The following block allows to read the AyaLog.txt file even though it's locked by the logger
|
||||
sbInfo.Append("INTEGRATION LOG\r\n=-=-=-=-=-=-=-=-=-\r\n");
|
||||
IntegrationLogList ill = IntegrationLogList.GetList();
|
||||
foreach (IntegrationLogList.IntegrationLogListInfo i in ill)
|
||||
{
|
||||
sbInfo.AppendLine(i.LogEntry);
|
||||
}
|
||||
|
||||
|
||||
sbInfo.Append("\r\n\r\n\r\n");
|
||||
|
||||
|
||||
|
||||
@@ -62,4 +62,4 @@ using System.Runtime.InteropServices;
|
||||
[assembly: log4net.Config.XmlConfigurator(ConfigFile="Log4Net.config",Watch=true)]
|
||||
//[assembly: log4net.Config.XmlConfigurator(Watch=true)]
|
||||
[assembly: ComVisibleAttribute(false)]
|
||||
[assembly: AssemblyFileVersionAttribute("7.5.8.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("7.5.9.0")]
|
||||
|
||||
@@ -1353,6 +1353,7 @@
|
||||
</None>
|
||||
<None Include="AyaNova.exe.manifest" />
|
||||
<None Include="Log4Net.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</appender>
|
||||
<root>
|
||||
|
||||
<level value="ALL" />
|
||||
<level value="INFO" />
|
||||
<!--Default is "INFO", set to "ALL" if requested by tech support only-->
|
||||
|
||||
<appender-ref ref="RollingLogFileAppender" />
|
||||
|
||||
@@ -7378,6 +7378,17 @@ At first I was happy to find your code that solved my problem, but I did not lik
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
|
||||
//case 3663
|
||||
static public void LogFullSupportInfoToFile()
|
||||
{
|
||||
log.Info("##############################");
|
||||
log.Info("Support info requested, logging extra:\r\n");
|
||||
log.Info(FullSupportInfo());
|
||||
log.Info("##############################");
|
||||
|
||||
}
|
||||
|
||||
static public string BriefSupportInfo()
|
||||
{
|
||||
log.Debug("BriefSupportInfo");
|
||||
@@ -7406,7 +7417,8 @@ At first I was happy to find your code that solved my problem, but I did not lik
|
||||
|
||||
////Sub release version if any
|
||||
sb.Append(AyaBizUtils.SubVersion);
|
||||
|
||||
|
||||
|
||||
// sb.Append("Options:\r\n");
|
||||
// sb.Append(AyaBizUtils.View());
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</appender>
|
||||
<root>
|
||||
|
||||
<level value="ALL" />
|
||||
<level value="INFO" />
|
||||
<!--Default is "INFO", set to "ALL" if requested by tech support only-->
|
||||
|
||||
<appender-ref ref="RollingLogFileAppender" />
|
||||
|
||||
Reference in New Issue
Block a user