NXP-13699: Refactor logging configuration function to allow not using a file handler
NXP-13699: Configure logger for tests
NXP-13699: Add verbose option to nosetests when running tests from sources