mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Change default Rio log dir from /home/lvuser to /home/lvuser/logs (#5899)
This commit is contained in:
@@ -229,8 +229,11 @@ static std::string MakeLogDir(std::string_view dir) {
|
||||
"DataLogManager: Logging to RoboRIO 1 internal storage is "
|
||||
"not recommended! Plug in a FAT32 formatted flash drive!");
|
||||
}
|
||||
#endif
|
||||
fs::create_directory("/home/lvuser/logs", ec);
|
||||
return "/home/lvuser/logs";
|
||||
#else
|
||||
return filesystem::GetOperatingDirectory();
|
||||
#endif
|
||||
}
|
||||
|
||||
static std::string MakeLogFilename(std::string_view filenameOverride) {
|
||||
|
||||
Reference in New Issue
Block a user