Skip to content
Discussion options

You must be logged in to vote

Ah I see. No, so print_gain doesn't disable the log message, but it only disables that computation of the gain, i.e., ↓ 5%. I believe the log messages are useful to show what the plugin does, i.e., that it actually compressed the images. We could in theory make logging configurable, but I'm not sure why? From our docs:

Use this setting to control whether the plugin should print the number of bytes gained after optimizing each file. If you want to disable this behavior, use:

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AnastasiaTWW
Comment options

@squidfunk
Comment options

Answer selected by squidfunk
@AnastasiaTWW
Comment options

@squidfunk
Comment options

@AnastasiaTWW
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants