added fallback-logger routine