Multithreaded Just-In-Time Logwatcher with socket interface