converted logs to have level at the end