Move LOG_BUF_SHIFT to a more sensible place