On Wed, Feb 24, 2016 at 12:39 PM, Arthur LAMBERT <lambertarthu...@gmail.com> wrote: > 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.. >
Are you using uClibc-ng? If yes, this might be the wrong mailing-list and there was v1.0.12 released. - Sedat - [1] http://www.uclibc-ng.org/ [2] http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel > 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 > uClibc@uclibc.org > http://lists.busybox.net/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc