Glen Iris wrote:1 - should each class create its own instance of the file handler or should one instance of the file handler be created and passed to each class?
Glen Iris wrote:2 - if no file location is specified for the log-file.txt in the properties file, should i just create one at the root directory or simply print all my logs to the console?
Glen Iris wrote:At the moment my FileHandler is printing out the log files in xml format to my log.txt file. How can I get them to print out to the file in the format that they print to the console?
Glen Iris wrote:how can I get them to not print to the console?
Himai Minh wrote:You may not need LogFileHandler.
Glen Iris wrote:its been something I have been meaning to master for a while now so I think this is a good time.
Glen Iris wrote:Roel, come on man, I get up at 6am each morning now to work on this assignment before I go to work. I spent quite a while looking for the info I requested.
Glen Iris wrote:Even by you posting "java logging turning off console" has helped me because sometimes half the battle is knowing what to google.