add logging back; fix related posts method to retrieve any type