AGHSEagleRobotics / frc1388-2020

FRC 2020 - INFINITE RECHARGE
3 stars 0 forks source link

Investigate/Implement using java.util.logging #23

Open HaydenUndesser17 opened 4 years ago

HaydenUndesser17 commented 4 years ago

Currently we are using the UsbLogging class to manage our logging to the console as well as optionally to a log file on a usb drive plugged into the RoboRIO.

There is a nice tutorial here that covers how java.util.logging works. This page helpfully talks about configuring the logging system and this page covers Java system properties (needed to configure the logging system). Additionally, the FileHandler logger appears to be capable of the automatic log rotation we are using (postfix with next available number)