Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed Sep 28, 2018
1 parent 10a348b commit 6cf3826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ApplicationLogs/LogReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
using Neo.IO.Data.LevelDB;
using Neo.IO.Json;
using Neo.Network.RPC;
using System.IO;

namespace Neo.Plugins
{
public class LogReader : Plugin, IRpcPlugin
{
private readonly DB db = DB.Open(Settings.Default.Path, new Options { CreateIfMissing = true });
private readonly DB db = DB.Open(Path.GetFullPath(Settings.Default.Path), new Options { CreateIfMissing = true });

public override string Name => "ApplicationLogs";

Expand Down

0 comments on commit 6cf3826

Please sign in to comment.