Skip to content

Commit

Permalink
Remove FSUIPC & AutoConnect message from log (#1672)
Browse files Browse the repository at this point in the history
* Remove FSUIPC & AutoConnect message from log

* Added a comment
  • Loading branch information
DocMoebiuz authored Feb 11, 2024
1 parent 0fae5ab commit d6bb1b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion FSUIPC/Fsuipc2Cache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public bool Connect()
}
else if (ex.FSUIPCErrorCode == FSUIPCError.FSUIPC_ERR_NOFS)
{
Log.Instance.log("No FSUIPC found.", LogSeverity.Debug);
// We can enable this again once we have throttling for the log in place
// But it doesn't make sense to log this every 10s
// Log.Instance.log("No FSUIPC found.", LogSeverity.Debug);
}
else
{
Expand Down
6 changes: 2 additions & 4 deletions MobiFlight/ExecutionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,11 +1085,9 @@ void AutoConnectTimer_TickAsync(object sender, EventArgs e)
_autoConnectTimerRunning = true;

#if ARCAZE
if (!arcazeCache.Available())
if (arcazeCache.Enabled && !arcazeCache.Available())
{
Log.Instance.log("AutoConnect modules.", LogSeverity.Debug);
if (Properties.Settings.Default.ArcazeSupportEnabled)
arcazeCache.connect(); // _initializeArcaze();
arcazeCache.connect();
}
#endif

Expand Down

0 comments on commit d6bb1b1

Please sign in to comment.