O=C1CCCC2=C1C(c1ccccc1)C1=C(CCCC1=O)O2
For non-ionizable compounds Log P = Log D throughout pH range, whereas for ionizable compounds LogD takes into account the partition of both ionized and non-ionized forms. What is the negative logD of this molecule?