Skip to content

How do you silence "VIPS-INFO" output on CentOS 6 libvips build? #1876

Closed
@elohanlon

Description

@elohanlon

When I build libvips 8.10.2 on CentOS 6 (which is my target platform in this case), vipsthumbnail always outputs a bunch of 'VIPS-INFO' log lines, but the same build steps result in (expected) silent operation on CentOS 7.

Command: vipsthumbnail owl.jpg --smartcrop attention -s 128

CentOS 6:

$ vipsthumbnail owl.jpg --smartcrop attention -s 128
VIPS-INFO: thumbnailing owl.jpg
VIPS-INFO: selected loader is VipsForeignLoadJpegFile
VIPS-INFO: input size is 600 x 397
VIPS-INFO: loading with factor 1 pre-shrink
VIPS-INFO: pre-shrunk size is 600 x 397
VIPS-INFO: converting to processing space srgb
VIPS-INFO: residual reducev by 0.322418
VIPS-INFO: reducev: 19 point mask
VIPS-INFO: reducev: using vector path
VIPS-INFO: reducev sequential line cache
VIPS-INFO: residual reduceh by 0.322418
VIPS-INFO: reduceh: 19 point mask
VIPS-INFO: cropping to 128x128
VIPS-INFO: shrinkv by 2
VIPS-INFO: shrinkv sequential line cache
VIPS-INFO: shrinkh by 3
VIPS-INFO: residual reducev by 0.5
VIPS-INFO: reducev: 13 point mask
VIPS-INFO: reducev: using vector path
VIPS-INFO: reducev sequential line cache
VIPS-INFO: residual reduceh by 0.497409
VIPS-INFO: reduceh: 13 point mask
VIPS-INFO: convi: using C path
VIPS-INFO: gaussblur mask width 13
VIPS-INFO: convi: using C path
VIPS-INFO: convi: using C path
VIPS-INFO: thumbnailing owl.jpg as ./tn_owl.jpg
$

CentOS 7:

$ vipsthumbnail owl.jpg --smartcrop attention -s 128
$

Is it possible that I need to pass an extra configure argument during the CentOS 6 build steps to hide the default display of these VIPS-INFO log lines?

In addition to libvips 8.10.2, I'm also seeing "VIPS-INFO" output appearing by default when I build libvips 8.7.4 or 8.8.0 on CentOS 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions