Command & History Logging - rsanchez-wsu/jfiles GitHub Wiki
Team 4: The server will log the commands entered and will log the words it attempted to search. It will log the time and date of the system the server is running on. It uses the Date Format class so that the date and time will print as formatted. In the format declaration, the lowercase "hh" means a 12-hour format and the "a" at the end means to show am/pm. The calendar gets the instance of the time so it will be up to date before writing to the text file the history.