Skip to content

Commit

Permalink
Logging on webserver disabled to lower the load
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Apr 25, 2022
1 parent ea16250 commit d836031
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Logfile/Logfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ public static bool IsDocker()

internal static void ExternalLog(string text)
{
/*
try
{
if (!text.Contains("SqlException"))
Expand Down Expand Up @@ -307,6 +308,7 @@ internal static void ExternalLog(string text)
{
Logfile.Log("Exception in ExternalLog " + ex.Message);
}
*/
}
}
}
4 changes: 2 additions & 2 deletions Logfile/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.14.0")]
[assembly: AssemblyFileVersion("1.0.14.0")]
[assembly: AssemblyVersion("1.0.15.0")]
[assembly: AssemblyFileVersion("1.0.15.0")]
4 changes: 2 additions & 2 deletions TeslaLogger/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.52.5.0")]
[assembly: AssemblyFileVersion("1.52.5.0")]
[assembly: AssemblyVersion("1.52.6.0")]
[assembly: AssemblyFileVersion("1.52.6.0")]

[assembly: InternalsVisibleTo("UnitTestsTeslalogger")]
3 changes: 3 additions & 0 deletions TeslaLogger/Tools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,8 @@ internal static string GetMapProvider()

internal static void ExternalLog(string text)
{
/*
try
{
text = "V:" + Assembly.GetExecutingAssembly().GetName().Version + " - " + text;
Expand All @@ -1822,6 +1824,7 @@ internal static void ExternalLog(string text)
{
Logfile.Log(ex.ToString());
}
*/
}

public static string ConvertBase64toString(string base64)
Expand Down
Binary file modified TeslaLogger/bin/Logfile.dll
Binary file not shown.
Binary file modified TeslaLogger/bin/TeslaLogger.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion TeslaLogger/bin/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 1.52.5
# Version 1.52.6
- Bugfixes

# Version 1.52.4
Expand Down

0 comments on commit d836031

Please sign in to comment.