Skip to content

Commit

Permalink
Merge pull request #337 from phunkyfish/fix-logging
Browse files Browse the repository at this point in the history
Switch disk space logging to debug level
  • Loading branch information
phunkyfish authored Mar 25, 2021
2 parents fb3bc1f + ad3649c commit 3adad27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pvr.vuplus/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.vuplus"
version="7.4.1"
version="7.4.2"
name="Enigma2 Client"
provider-name="Joerg Dembski and Ross Nicholson">
<requires>@ADDON_DEPENDS@
Expand Down Expand Up @@ -183,6 +183,9 @@
<icon>icon.png</icon>
</assets>
<news>
v7.4.2
- Update: Switch disk space logging to debug level

v7.4.1
- Fixed: Don't log channel group not found for members at INFO level

Expand Down
3 changes: 3 additions & 0 deletions pvr.vuplus/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v7.4.2
- Update: Switch disk space logging to debug level

v7.4.1
- Fixed: Don't log channel group not found for members at INFO level

Expand Down
2 changes: 1 addition & 1 deletion src/enigma2/Admin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ PVR_ERROR Admin::GetDriveSpace(uint64_t& iTotal, uint64_t& iUsed, std::vector<st
iTotal = totalKb;
iUsed = totalKb - freeKb;

Logger::Log(LEVEL_INFO, "%s Space Total: %lld, Used %lld", __func__, iTotal, iUsed);
Logger::Log(LEVEL_DEBUG, "%s Space Total: %lld, Used %lld", __func__, iTotal, iUsed);

return PVR_ERROR_NO_ERROR;
}
Expand Down

0 comments on commit 3adad27

Please sign in to comment.