minor code improvements. added LogFormatter for ApplicationLogger.