Build and run logging tests.