logging for testing purposes