2b212c76e7c4144d7a6858ed21e13bda4ed28f30
There are issues with libdm logging. Right now if docker daemon is run in debug mode, logging by libdm is too verbose. And if a device can't be removed, thousands of messages fill the console and one can not see what's going on. This patch removes devicemapper.LogInitVerbose() call as that call will only work if docker was not registering its own log handler with libdm. For some reason docker registers one with libdm and libdm hands over all the messages to docker (including debug ones). And now it is up to devmapper backend to figure out which ones should go to console and which ones should not. So by default log only fatal messages from libdm. One can easily modify the code to change it for debugging purposes. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: e07d3cd9acf14219f33e12375fb8c2e3fe02ad0c Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%