[FIX] Scalable directory assignment
[FIX] Better logging configuration for socket server