Hello!
I use Busybox v1.22.1 on our board with ARM CPU.
Unfortunately in this version I have very strange - syslog output not
work from application.
~ # /tmp/a.out
~ #
If I run syslogd and run application:
~ # syslogd -n
Jan 1 00:15:30 (none) syslog.info syslogd started: BusyBox v1.22.1
~ # /tmp/a.out // run from another terminal
Jan 1 00:15:47 (none) user.info test: main:7
Test application:
#include <stdio.h>
#include <syslog.h>
int main(int argc, char *argv[])
{
openlog("test", LOG_CONS, LOG_USER);
syslog(LOG_INFO, "%s:%u", __func__, __LINE__);
return 0;
}
How can I solve this problem?
Thank you and excuse me for my bad english.
--
Best regards,
Brilliantov Kirill Vladimirovich
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox