added single line logging in production