Configurable logging format