Final bot logger version

This commit is contained in:
Rubenlagus 2016-05-19 20:29:45 +02:00
parent dc474a2c2f
commit e54396a0ca

View File

@ -13,7 +13,7 @@ public class BotsFileHandler extends FileHandler {
private static final String filePattern = "./TelegramBots%g.%u.log";
public BotsFileHandler() throws IOException, SecurityException {
super(filePattern);
super(filePattern, 1024 * 1024 * 10, 50, true);
setFormatter(new FileFormatter());
}