Project

General

Profile

Actions

action #60389

closed

Use human readable sizes in Cache Service logs

Added by kraih over 4 years ago. Updated over 4 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 #1

Updated by kraih over 4 years ago

  • Status changed from Workable to In Progress
Actions #2

Updated by okurz over 4 years ago

  • Status changed from In Progress to Resolved
  • Target version changed from Current Sprint to Done

PR was merged. I assume you do not plan more work regarding this.

I can confirm it working fine, e.g. from w1.o.o:

Dec 12 03:34:47 openqaworker1 openqa-workercache[2692]: [2019-12-12 03:34:47.36382] [2692] [info] Cache size of "/var/lib/openqa/cache" is 49GiB, with limit 50GiB

thanks

Actions

Also available in: Atom PDF