diff --git a/SimpleDLNA/FormMain.cs b/SimpleDLNA/FormMain.cs index 5c9043e2..f2a23206 100644 --- a/SimpleDLNA/FormMain.cs +++ b/SimpleDLNA/FormMain.cs @@ -37,7 +37,7 @@ public partial class FormMain : Form, IAppender #if DEBUG private readonly FileInfo logFile = - new FileInfo(Path.Combine(cacheDir, "sdlna.dbg.log")); + new FileInfo(Path.Combine(CacheDir, "sdlna.dbg.log")); #else private readonly FileInfo logFile = new FileInfo(Path.Combine(CacheDir, "sdlna.log")); diff --git a/server/Http/HttpClient.cs b/server/Http/HttpClient.cs index cf1628bc..4107c0d4 100644 --- a/server/Http/HttpClient.cs +++ b/server/Http/HttpClient.cs @@ -384,7 +384,7 @@ private void SetupResponse() } catch (HttpStatusException ex) { #if DEBUG - Warn(String.Format("{0} - Got a {2}: {1}", this, path, ex.Code), ex); + Warn(String.Format("{0} - Got a {2}: {1}", this, Path, ex.Code), ex); #else InfoFormat("{0} - Got a {2}: {1}", this, Path, ex.Code); #endif