add factory of log manager