Project

General

Profile

Actions

action #60389

closed

Use human readable sizes in Cache Service logs

Added by kraih about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2019-11-28
Due date:
% Done:

0%

Estimated time:

Description

Nov 27 16:08:36 openqaworker11 openqa-workercache[32263]: [2019-11-27 16:08:36.91003] [32313] [info] [#68] Cache size of "/var/lib/openqa/cache" is 2858341888, with limit 6442450944

Showing just the number of bytes in Cache Service log messages is not particularly helpful when we are almost always dealing with gigabytes. And we appear to already have a helper function for this in OpenQA::Utils.

Actions

Also available in: Atom PDF