Ignore stacktrace lines from logging module