CC(C)(C)C(=O)OC[N+](C)(C)CCOC(=O)C(O)(c1ccccc1)C1CCCC1.[Cl-]
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 logD of this molecule?