BugFix module db_logging_thread_test to create logging directory if it is not there already
fix build script