prevent multiple attempts to initialise logging