log4c socket interface like log4j