Feature Request
Please add a way to configure the directory where the REV Power Distribution Hub writes its .revlog files.
Current behavior
The PDH writes revlogs to a fixed path (/U/logs/) with no way to change it from robot code. The StatusLogger API only exposes start(), stop(), and disableAutoLogging().
Desired behavior
An API call like StatusLogger.setPath(String directory) that directs revlog output to a specified directory before logging begins.
Why this matters
We'd like to be able to cross-reference all log files (.revlog, .wpilog, .hoot) generated in a given session. We can do this by ensuring they are organized together in a directory unique to the current session:
String sessionDir = "/U/logs/exampleSessionDir/";
SignalLogger.setPath(sessionDir);
Logger.addDataReceiver(new WPILOGWriter(sessionDir));
Feature Request
Please add a way to configure the directory where the REV Power Distribution Hub writes its
.revlogfiles.Current behavior
The PDH writes revlogs to a fixed path (
/U/logs/) with no way to change it from robot code. TheStatusLoggerAPI only exposesstart(),stop(), anddisableAutoLogging().Desired behavior
An API call like
StatusLogger.setPath(String directory)that directs revlog output to a specified directory before logging begins.Why this matters
We'd like to be able to cross-reference all log files (
.revlog,.wpilog,.hoot) generated in a given session. We can do this by ensuring they are organized together in a directory unique to the current session: