Re: lost message in syslog
Sedat Dilek <[email protected]> Wed, 24 Feb 2016 12:44:57 +0100
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <CA+icZUWR9EZEMeyqD39JEFMO60pLKRD1=vTRqX+EJojttcidDQ@mail.gmail.com> |
On Wed, Feb 24, 2016 at 12:39 PM, Arthur LAMBERT <[email protected]> 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 > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc