C[C@H](OC(=O)N1CCN(C(c2ccccc2)c2ccccc2)CC1)[C@@H]1O[C@@]2(C)CCC[C@H]1O2
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?