Migración a percona
This commit is contained in:
@@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging.EventLog;
|
||||
using Serilog;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using WSAsegasa;
|
||||
using WSAsegasaVerifactu;
|
||||
|
||||
|
||||
public class Program
|
||||
@@ -17,12 +17,12 @@ public class Program
|
||||
string path = "";
|
||||
if (OperatingSystem.IsWindows())
|
||||
{
|
||||
path = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + @"\WSAsegasa\WSAsegasa.log";
|
||||
path = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + @"\WSAsegasaVerifactu\WSAsegasaVerifactu.log";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
path = @"/var/log/WSAsegasa/WSAsegasa.log";
|
||||
path = @"/var/log/WSAsegasaVerifactu/WSAsegasaVerifactu.log";
|
||||
}
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.MinimumLevel.Information()
|
||||
@@ -46,7 +46,7 @@ public class Program
|
||||
{
|
||||
services.AddWindowsService(config =>
|
||||
{
|
||||
config.ServiceName = "WSAsegasa";
|
||||
config.ServiceName = "WSAsegasaVerifactu";
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user