O=C(c1ccc2c(=O)n(Cc3ccco3)c(=S)[nH]c2c1)N1CCN(Cc2ccccc2)CC1
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?