[dlt] Change datalogtool default folder to logs folder (#6079)

Also fix straggling documentation.
This commit is contained in:
Ryan Blue
2023-12-22 13:54:17 -05:00
committed by GitHub
parent df5e439b0c
commit 0b2cfb3abc
4 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@
Downloader::Downloader(glass::Storage& storage)
: m_serverTeam{storage.GetString("serverTeam")},
m_remoteDir{storage.GetString("remoteDir", "/home/lvuser")},
m_remoteDir{storage.GetString("remoteDir", "/home/lvuser/logs")},
m_username{storage.GetString("username", "lvuser")},
m_localDir{storage.GetString("localDir")},
m_deleteAfter{storage.GetBool("deleteAfter", true)},

View File

@@ -20,8 +20,8 @@ namespace wpi {
* Centralized data log that provides automatic data log file management. It
* automatically cleans up old files when disk space is low and renames the file
* based either on current date/time or (if available) competition match number.
* The deta file will be saved to a USB flash drive if one is attached, or to
* /home/lvuser otherwise.
* The data file will be saved to a USB flash drive in a folder named "logs" if
* one is attached, or to /home/lvuser/logs otherwise.
*
* Log files are initially named "FRC_TBD_{random}.wpilog" until the DS
* connects. After the DS connects, the log file is renamed to

View File

@@ -17,8 +17,8 @@ namespace frc {
* Centralized data log that provides automatic data log file management. It
* automatically cleans up old files when disk space is low and renames the file
* based either on current date/time or (if available) competition match number.
* The deta file will be saved to a USB flash drive if one is attached, or to
* /home/lvuser otherwise.
* The data file will be saved to a USB flash drive in a folder named "logs" if
* one is attached, or to /home/lvuser/logs otherwise.
*
* Log files are initially named "FRC_TBD_{random}.wpilog" until the DS
* connects. After the DS connects, the log file is renamed to

View File

@@ -25,8 +25,8 @@ import java.util.Random;
/**
* Centralized data log that provides automatic data log file management. It automatically cleans up
* old files when disk space is low and renames the file based either on current date/time or (if
* available) competition match number. The deta file will be saved to a USB flash drive if one is
* attached, or to /home/lvuser otherwise.
* available) competition match number. The data file will be saved to a USB flash drive in a folder
* named "logs" if one is attached, or to /home/lvuser/logs otherwise.
*
* <p>Log files are initially named "FRC_TBD_{random}.wpilog" until the DS connects. After the DS
* connects, the log file is renamed to "FRC_yyyyMMdd_HHmmss.wpilog" (where the date/time is UTC).