SwordofMorning / litelog

A lightweight inter-process logging system via sockets for GNU/Linux.
GNU General Public License v3.0
0 stars 0 forks source link

Feat 0.2 #11

Closed SwordofMorning closed 4 weeks ago

SwordofMorning commented 4 weeks ago
  1. change default port, message:20000, control:20001, send-back:50000;
  2. chang dirs as 4 main parts: 2.1 src/buffer, buffer to storage log data; 2.2 src/controller, socket ctl interface; 2.3 formatter, write log to file; 2.4 logger, listen other process's log;
  3. put other function to src/utils: 3.1 utils/config, load default config; 3.2 utils/socket, linux socket; 3.3 threadpool, logger(monitor) -> threadpool -> buffer;
  4. More log level;
  5. Formated log output;