minor log String manipulations