This is a new log library for c. It use config file format like ini in Windows.
FYI: there is a bug in appender_type_rollingfile.c. fprintf causes this code to fail and take down all dependent apps. replacing with fputs fixes the bug. 168c168,169 < rc = fprintf(rfup->rfu_current_fp, a_event->evt_rendered_msg); --- > rc = fputs(a_event->evt_rendered_msg, rfup->rfu_current_fp);
Hello guys, as log4c stop its develop. I found many problems in log4c(memory leaking, low speed, bad model copied from log4j), so I write a new and better c log library -- zlog! https://github.com/HardySimpson/zlog you can have a try~~~