rsanchez-wsu / jfiles

A Java-based file browser
GNU General Public License v3.0
20 stars 9 forks source link

Organize server logging information output in Server GUI #317

Open zackarm opened 7 years ago

zackarm commented 7 years ago

In its current stat the server GUI is outputting logging information as it does in the console window. We would like to organize the information more uniformly for output on the log tab in the server GUI. The logging information should include at a minimum what clients are connecting, what time they connect, and what time they disconnect. We could also add the total amount of time each user is connected and display that as well. This issue can be closed when the Server GUI outputs logging information in an organized list.

mdgilene commented 7 years ago

After thinking about this issue a bit and thinking of how this would be implemented I think that modifying the order/sorting of the server output isn't necessarily the best way to go. Doing so would break chronological order of the output and thus make it difficult to see what happened and when. This would also require a pretty large overhaul to how the server logs information. Currently the server uses the logger to simply dump text to the standard output. In order to accomplish the above the logger would have to be completely redone.

I suggest we refocus this issue on simply being able to track when users login and out of the server and track their time logged in.

zackarm commented 7 years ago

That was my intention for this issue I have a separate issue about sorting the information which would only be used when the server is finished running. My idea was to have the server information come in as is while the server is running but when the server stops the information is put into an output file of some sort ( maybe a table) so that it can be sorted in whatever way the user needs to find the information they are looking for. So the order of the logging information as displayed on the server should not change. My intent for this issue was to organize the output into columns so that it is easier to read.