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:
parent
177e4b850e
commit
21a3260bf2
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue