Skip to content

Commit

Permalink
Change datalogtool default folder to log folder
Browse files Browse the repository at this point in the history
Fix straggling documentation
  • Loading branch information
rzblue committed Dec 22, 2023
1 parent 0ff7478 commit 69425c6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion datalogtool/src/main/native/cpp/Downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down
4 changes: 2 additions & 2 deletions ntcoreffi/src/main/native/include/DataLogManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions wpilibc/src/main/native/include/frc/DataLogManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
/**
* 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).
Expand Down

0 comments on commit 69425c6

Please sign in to comment.