Update sample conf and fix some logging