*** BCMM has joined #maemo-devel | 00:02 | |
*** lizardo has quit IRC | 00:04 | |
*** edisson has quit IRC | 00:06 | |
*** swc|666 has joined #maemo-devel | 00:18 | |
*** kW has quit IRC | 00:29 | |
*** kW has joined #maemo-devel | 00:32 | |
*** kW has quit IRC | 00:32 | |
*** kW has joined #maemo-devel | 00:32 | |
*** SpeedEvil has quit IRC | 00:32 | |
*** SpeedEvil has joined #maemo-devel | 00:33 | |
*** kW has quit IRC | 00:50 | |
*** NIN101 has quit IRC | 01:00 | |
*** M4rtinK has joined #maemo-devel | 01:10 | |
*** M4rtinK has quit IRC | 01:10 | |
*** I-C-Wiener has quit IRC | 01:50 | |
*** csaavedra has quit IRC | 01:53 | |
*** swc|666 has quit IRC | 02:41 | |
*** ptl has joined #maemo-devel | 03:26 | |
*** swc|666 has joined #maemo-devel | 03:36 | |
*** BCMM has quit IRC | 03:41 | |
*** Milhouse has quit IRC | 05:16 | |
*** spiritd has joined #maemo-devel | 05:52 | |
*** Milhouse has joined #maemo-devel | 05:55 | |
*** flux has quit IRC | 07:05 | |
*** flux has joined #maemo-devel | 07:14 | |
*** DocScrutinizer has quit IRC | 07:31 | |
*** DocScrutinizer has joined #maemo-devel | 07:31 | |
*** spiritd has quit IRC | 07:59 | |
*** jaafar has joined #maemo-devel | 08:30 | |
jaafar | Can anyone share with me the commands required to get syslog working? /var/log/syslog is empty, but I can see the library I'm testing with writes to it (with syslog(LOG_ERR, ...)) | 08:35 |
---|---|---|
jaafar | this is under scratchbox x86 | 08:35 |
flux | no, but syslog works by sending messages to the syslog daemon. so you have to make sure /dev/log is connected somewhere. | 08:48 |
jaafar | flux: thanks. I'm not sure what you mean, though. /dev/log doesn't exist - are you saying it should be a link? Or there should be a device driver that owns it? Or something? confused :) | 08:50 |
flux | /dev/log is a unix domain socket that is created by the syslog daemon | 08:51 |
flux | so basically you need to start syslogger in your environment | 08:51 |
flux | or, you could hardlink it from the parent system to use its syslogger | 08:51 |
*** Tsarpf has joined #maemo-devel | 08:51 | |
jaafar | Hm, can't seem to find out anything about syslogger. There is this "sysklogd" thing, but I'm not sure how to start it. I do have it installed. ps doesn't show any syslog stuff. Is there a way to launch syslogger? | 08:54 |
flux | apt-cache search syslog should give you some syslog implementations. my workstation runs rsyslogd. | 08:55 |
jaafar | wow, I have man pages for syslogd but no "man" installed | 08:55 |
jaafar | hm, just running "syslogd" from the command line results in output in /var/log/syslog. That's encouraging. | 08:57 |
jaafar | OK, nothing other than the syslogd startup message appeared in /var/log/syslog within Scratchbox :( | 09:04 |
*** spiritd has joined #maemo-devel | 09:05 | |
jaafar | On the host system "rsyslogd -c4" is running. Within scratchbox "syslogd" is running. But the calls to syslog from my application without scratchbox are not resulting in any output in either /var/log/syslog within Scratchbox, or /var/log/syslog in the host system. | 09:06 |
jaafar | s/without/within/ | 09:07 |
jaafar | This seems like such a simple (and common) requirement I'm surprised I can't find a reference to how to do it... | 09:07 |
jaafar | OK, looks like the "syslogd" I'm running within Scratchbox cannot create /dev/log, even when run from " | 09:24 |
jaafar | fakeroot" | 09:24 |
jaafar | message is "Called logerr, msg: cannot create /dev/log" | 09:25 |
*** swc|666 has quit IRC | 09:43 | |
*** ppenz has joined #maemo-devel | 09:47 | |
*** edisson has joined #maemo-devel | 10:03 | |
*** T_X has quit IRC | 10:04 | |
*** T_X has joined #maemo-devel | 10:06 | |
*** T_X has quit IRC | 10:06 | |
*** T_X has joined #maemo-devel | 10:06 | |
jaafar | sudo ln /dev/log /scratchbox/users/me/dev/log results in "Invalid cross-device link" | 10:10 |
flux | yeah, it works only if the device is the same | 10:10 |
flux | I guess a trick would be to first mount whole /dev with mount -o bind under scratchbox, then have a symbolic link to that log-file in scratchbox' dev | 10:11 |
jaafar | My solution at this time is to build the problem library from source and redefine the logging macro to dump to stdout :) | 10:20 |
*** zolkis has joined #maemo-devel | 10:36 | |
*** zolkis has quit IRC | 10:37 | |
*** buntfalke has joined #maemo-devel | 11:57 | |
*** jaafar has quit IRC | 12:12 | |
*** jaafar has joined #maemo-devel | 12:12 | |
*** jaafar has quit IRC | 12:22 | |
*** Tsarpf has quit IRC | 13:13 | |
*** NIN101 has joined #maemo-devel | 13:50 | |
*** tron71 has joined #maemo-devel | 13:58 | |
*** tron71 has quit IRC | 13:59 | |
*** tron71 has joined #maemo-devel | 14:01 | |
*** kW has joined #maemo-devel | 14:16 | |
*** kW has quit IRC | 14:16 | |
*** kW has joined #maemo-devel | 14:16 | |
*** tron71 has quit IRC | 14:58 | |
*** kW has quit IRC | 15:49 | |
*** kW has joined #maemo-devel | 15:49 | |
*** buntfalke has quit IRC | 16:24 | |
*** ppenz has quit IRC | 16:52 | |
*** _NIN has joined #maemo-devel | 16:53 | |
*** NIN101 has quit IRC | 16:55 | |
*** SpeedEvil has quit IRC | 17:01 | |
*** SpeedEvil has joined #maemo-devel | 17:02 | |
*** alvaro__ has joined #maemo-devel | 17:20 | |
*** kW has quit IRC | 17:38 | |
*** kW has joined #maemo-devel | 17:46 | |
*** dazo_afk is now known as dazo | 17:47 | |
*** piotr_ has quit IRC | 18:09 | |
*** tron71 has joined #maemo-devel | 18:39 | |
*** lizardo has joined #maemo-devel | 18:42 | |
*** alvaro__ has quit IRC | 20:16 | |
*** tron71 has quit IRC | 20:36 | |
*** buntfalke has joined #maemo-devel | 20:48 | |
*** BCMM has joined #maemo-devel | 20:56 | |
*** kW has quit IRC | 21:30 | |
*** kW has joined #maemo-devel | 21:30 | |
*** kW has quit IRC | 21:30 | |
*** kW has joined #maemo-devel | 21:30 | |
*** floty has joined #maemo-devel | 21:36 | |
*** dazo is now known as dazo_afk | 21:49 | |
*** dazo_afk is now known as dazo | 21:50 | |
*** I-C-Wiener has joined #maemo-devel | 22:03 | |
*** BCMM has quit IRC | 22:14 | |
*** swc|666 has joined #maemo-devel | 22:48 | |
*** BCMM has joined #maemo-devel | 23:06 | |
*** piotr_ has joined #maemo-devel | 23:11 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!