Hi,
I am using syslog from uclibc (1.0.5) on an ARM board. I am working in a multi
thread environment.
I can see that some message are never saved in my syslog file..
Any problem to use syslog with thread ? or emmc ?
I used macro like this :
#define _PRINT_DEBUG(M, ...) \
do { \
printf ("[DEBUG] [%s:%d]: " M "%s\n", __FILE__, __LINE__, __VA_ARGS__); \
syslog(LOG_DEBUG, "[DEBUG] [%s:%d]: " M "%s\n", __FILE__, __LINE__,
__VA_ARGS__); \
} while (0)
#endif
All my messages are in my stdout (thanks to printf) but some message are
missing in my syslog file.
Thanks,
Arthur.
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc