Standardise logging format