implemented missing placeholders in log_format; some additional fixes.