Add placeholder constant when logging is disabled