add an option to add new log entries at the front of the log file,the old behavior of adding new log entries at the end of the log file can be set in the config file