mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-19 07:52:33 +02:00
LogFile mapper is less greedy which logged other messages
This commit is contained in:
parent
177e4b850e
commit
21a3260bf2
@ -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 New Issue
Block a user