Posted May 28, 2019 Hi i tried editing logging.properties but every time when server crashes it resets the log file. i tried changing count to 10 but there will be no server.log anymore... any one can help? handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler .level=INFO java.util.logging.FileHandler.pattern = server.log java.util.logging.FileHandler.count = 1 java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter # Limit the message that are printed on the console to INFO and above. java.util.logging.ConsoleHandler.level = INFO java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.SimpleFormatter.format=[%1$tr] %4$s %3$s: %5$s%6$s%n Share this post Link to post Share on other sites
Posted May 28, 2019 You could add java.util.logging.FileHandler.append=true to your logging.properties. This way new logs will be appended to the file instead of overwriting it Share this post Link to post Share on other sites
Posted July 11, 2019 On 5/28/2019 at 11:28 PM, Henry said: You could add java.util.logging.FileHandler.append=true to your logging.properties. This way new logs will be appended to the file instead of overwriting it will try thanks! Share this post Link to post Share on other sites
Posted July 12, 2019 (edited) Thanks for that Henry After a quick Google I found some additional settings here that may be of interest: https://docs.oracle.com/cd/E57471_01/bigData.100/data_processing_bdd/src/rdp_logging_config.html Edited July 12, 2019 by Adambean Share this post Link to post Share on other sites