For debugging purposes, I\'m trying to redirect all stderr to my log_file. There is a way to redirect all the errors, i.e. also the errors raised in third-party libraries, to my