UI-DEN-5777_UI Dev Convert Logging From Hours to %
Activity
UI-DEN-5777-1 12
- Details
- Objectives
- General Comments 0
- Unresolved
- Resolved
- Number of files included: 16
-
application
0
-
Folder
sources
0
-
Folder
gui
0
- File GuiController.cpp 0 Remove
- File GuiController.h 0 Remove
- File GuiView.cpp 0 Remove
- File GuiView.h 0 Remove
-
Folder
storage
0
- File DriveWatcher.cpp 0 Remove
- File DriveWatcher.h 0 Remove
- File FileHandler.cpp 9 Remove
- File FileHandler.h 0 Remove
- File Logger.cpp 0 Remove
- File Logger.h 3 Remove
- File StorageGlobals.cpp 0 Remove
-
Folder
view
0
- File VTreatmentCreate.cpp 0 Remove
- File ApplicationController.cpp 0 Remove
- File ApplicationController.h 0 Remove
-
Folder
gui
0
-
Folder
unittests
0
- File tst_views.cpp 0 Remove
- File denali.pro.user 0 Remove
-
Folder
sources
0
-
Filter
- Only show me content:
- Unfiltered files: dynamically added content
- Filtered files: dynamically added content
- Clear filters
Keyboard shortcuts
#permalink
Details
#permalink
Objectives
Applicarion:
- Added a signal named didSDCardSpaceTooLow in the DriveWatcher which will be triggered when the free storage space available on the SD-CARD is less than 10%. (No action on UI happens currently)
- Added a flag in DriveWatcher to stop emitting the Logger while it is cleaning the Logs [[ IMPORTANT : is is handled by signal/slots for thread synchronization and safety ]].
- Added a function to find the total size of the file in a path.
- Added find function to find files with a list of filter in a path.
- Added an overloaded version of find to help find the files in a path which are exceeding the storage limit from the oldest files.
- Added error check in the read overloaded which works with Json.
- Re-implemented the FileHandler::removeLogs to clean up the logs by % instead of date.
- Removed unused global log paths from StorageGlobal.
Branches in review
| Repository | Branch to review | Branched from |
|---|
/sources/gui/GuiController.cpp
Changed
0
(0)
/sources/gui/GuiController.h
Changed
0
(0)
/sources/gui/GuiView.cpp
Changed
0
(0)
/sources/gui/GuiView.h
Changed
0
(0)
/sources/storage/DriveWatcher.cpp
Changed
0
(0)
/sources/storage/DriveWatcher.h
Changed
0
(0)
/sources/storage/FileHandler.cpp
Changed
9
(0)
/sources/storage/FileHandler.h
Changed
0
(0)
/sources/storage/Logger.cpp
Changed
0
(0)
/sources/storage/Logger.h
Changed
3
(0)
/sources/storage/StorageGlobals.cpp
Changed
0
(0)
/sources/view/VTreatmentCreate.cpp
Changed
0
(0)
/sources/ApplicationController.cpp
Changed
0
(0)
/sources/ApplicationController.h
Changed
0
(0)
/unittests/tst_views.cpp
Changed
0
(0)
/denali.pro.user
Changed
0
(0)