This commit is contained in:
@@ -10,6 +10,7 @@ using NLog.Web;
|
||||
using NLog.Targets;
|
||||
using NLog.Config;
|
||||
using AyaNova.Util;
|
||||
using StackExchange.Profiling;
|
||||
|
||||
namespace AyaNova
|
||||
{
|
||||
@@ -20,6 +21,7 @@ namespace AyaNova
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
|
||||
|
||||
//Get config
|
||||
var config = new ConfigurationBuilder().AddEnvironmentVariables().AddCommandLine(args).Build();
|
||||
ServerBootConfig.SetConfiguration(config);
|
||||
@@ -216,6 +218,7 @@ namespace AyaNova
|
||||
logger.Info("AyaNova server shutting down");
|
||||
NLog.LogManager.Shutdown();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user