update threaded server name, make logging dynamic