OpenMediaVault-Plugin-Developers / openmediavault-docker-gui

Docker plugin for OpenMediaVault
32 stars 17 forks source link

Add LOG SIZE column. Introduce getLogSize function in Utils.php to ge… #65

Closed subzero79 closed 6 years ago

subzero79 commented 6 years ago

Some containers logs can get big in size while running. This can help users to select which containers can have their logs cleared.

ryecoaaron commented 6 years ago

Line 650 in Utils.php has double quotes around the variable that aren't needed: $logpath = "$datarootpath" .

I might change lines 650-655 to this: $logpath = sprintf("%s/containers/%s/%s-json.log", $datarootpath, $cid, $cid);