Fixed logs folder being created in non working dir. when running from VS

This commit is contained in:
hondacrx
2017-10-29 10:01:52 -04:00
parent 97b526f022
commit 19d27aa6f1
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ public class Log
{
static Log()
{
m_logsDir = ConfigMgr.GetDefaultValue("LogsDir", "");
m_logsDir = AppContext.BaseDirectory + ConfigMgr.GetDefaultValue("LogsDir", "");
foreach (var appenderName in ConfigMgr.GetKeysByString("Appender."))
{