cut log.r line