1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-03-03 18:15:37 +00:00

LogFile mapper is less greedy which logged other messages

This commit is contained in:
Mark McDowall 2013-08-02 22:07:32 -07:00
parent 177e4b850e
commit 21a3260bf2

View file

@ -23,7 +23,7 @@ public string Map(string resourceUrl)
public bool CanHandle(string resourceUrl) public bool CanHandle(string resourceUrl)
{ {
return resourceUrl.StartsWith("/log"); return resourceUrl.StartsWith("/log") && resourceUrl.EndsWith(".txt");
} }
} }
} }