Make log file detection even more lenient
This commit is contained in:
parent
402ad7c897
commit
ffecfb86fd
@ -46,7 +46,7 @@ public class AutomaticLogDeleter extends JavaPlugin {
|
||||
|
||||
//if file is not a log file
|
||||
//using contains to make it more likely to catch different types of logging systems
|
||||
if (!fileName.contains(".log")) {
|
||||
if (!fileName.contains(".log") && !fileName.contains("log.")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user