summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.lib/Clients/ScriptClient.cs2
-rw-r--r--src/main.lib/Services/LogService.cs6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main.lib/Clients/ScriptClient.cs b/src/main.lib/Clients/ScriptClient.cs
index 4a7d5fb..0d0e4f6 100644
--- a/src/main.lib/Clients/ScriptClient.cs
+++ b/src/main.lib/Clients/ScriptClient.cs
@@ -80,7 +80,7 @@ namespace PKISharp.WACS.Clients
process.EnableRaisingEvents = true;
process.Exited += (s, e) =>
{
- _log.Information(LogType.Event, output.ToString());
+ _log.Information(LogType.Event | LogType.Disk, output.ToString());
exited = true;
if (process.ExitCode != 0)
{
diff --git a/src/main.lib/Services/LogService.cs b/src/main.lib/Services/LogService.cs
index e54719c..3b6fde5 100644
--- a/src/main.lib/Services/LogService.cs
+++ b/src/main.lib/Services/LogService.cs
@@ -132,9 +132,9 @@ namespace PKISharp.WACS.Services
Verbose("Verbose mode logging enabled");
}
- public void Verbose(string message, params object?[] items) => Verbose(LogType.Screen, message, items);
+ public void Verbose(string message, params object?[] items) => Verbose(LogType.Screen | LogType.Disk, message, items);
- public void Debug(string message, params object?[] items) => Debug(LogType.Screen, message, items);
+ public void Debug(string message, params object?[] items) => Debug(LogType.Screen | LogType.Disk, message, items);
public void Warning(string message, params object?[] items) => Warning(LogType.All, message, items);
@@ -142,7 +142,7 @@ namespace PKISharp.WACS.Services
public void Error(Exception ex, string message, params object?[] items) => Error(LogType.All, ex, message, items);
- public void Information(string message, params object?[] items) => Information(LogType.Screen, message, items);
+ public void Information(string message, params object?[] items) => Information(LogType.Screen | LogType.Disk, message, items);
public void Information(LogType logType, string message, params object?[] items) => _Information(logType, message, items);