Fix LogFormatter.java and AppConfig.java