IRC log of #maemo-devel for Thursday, 2011-05-12

*** BCMM has joined #maemo-devel00:02
*** lizardo has quit IRC00:04
*** edisson has quit IRC00:06
*** swc|666 has joined #maemo-devel00:18
*** kW has quit IRC00:29
*** kW has joined #maemo-devel00:32
*** kW has quit IRC00:32
*** kW has joined #maemo-devel00:32
*** SpeedEvil has quit IRC00:32
*** SpeedEvil has joined #maemo-devel00:33
*** kW has quit IRC00:50
*** NIN101 has quit IRC01:00
*** M4rtinK has joined #maemo-devel01:10
*** M4rtinK has quit IRC01:10
*** I-C-Wiener has quit IRC01:50
*** csaavedra has quit IRC01:53
*** swc|666 has quit IRC02:41
*** ptl has joined #maemo-devel03:26
*** swc|666 has joined #maemo-devel03:36
*** BCMM has quit IRC03:41
*** Milhouse has quit IRC05:16
*** spiritd has joined #maemo-devel05:52
*** Milhouse has joined #maemo-devel05:55
*** flux has quit IRC07:05
*** flux has joined #maemo-devel07:14
*** DocScrutinizer has quit IRC07:31
*** DocScrutinizer has joined #maemo-devel07:31
*** spiritd has quit IRC07:59
*** jaafar has joined #maemo-devel08:30
jaafarCan 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
jaafarthis is under scratchbox x8608:35
fluxno, but syslog works by sending messages to the syslog daemon. so you have to make sure /dev/log is connected somewhere.08:48
jaafarflux: 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 daemon08:51
fluxso basically you need to start syslogger in your environment08:51
fluxor, you could hardlink it from the parent system to use its syslogger08:51
*** Tsarpf has joined #maemo-devel08:51
jaafarHm, 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
fluxapt-cache search syslog should give you some syslog implementations. my workstation runs rsyslogd.08:55
jaafarwow, I have man pages for syslogd but no "man" installed08:55
jaafarhm, just running "syslogd" from the command line results in output in /var/log/syslog.  That's encouraging.08:57
jaafarOK, nothing other than the syslogd startup message appeared in /var/log/syslog within Scratchbox :(09:04
*** spiritd has joined #maemo-devel09:05
jaafarOn 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
jaafars/without/within/09:07
jaafarThis seems like such a simple (and common) requirement I'm surprised I can't find a reference to how to do it...09:07
jaafarOK, looks like the "syslogd" I'm running within Scratchbox cannot create /dev/log, even when run from "09:24
jaafarfakeroot"09:24
jaafarmessage is "Called logerr, msg: cannot create /dev/log"09:25
*** swc|666 has quit IRC09:43
*** ppenz has joined #maemo-devel09:47
*** edisson has joined #maemo-devel10:03
*** T_X has quit IRC10:04
*** T_X has joined #maemo-devel10:06
*** T_X has quit IRC10:06
*** T_X has joined #maemo-devel10:06
jaafarsudo ln /dev/log /scratchbox/users/me/dev/log results in "Invalid cross-device link"10:10
fluxyeah, it works only if the device is the same10:10
fluxI 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' dev10:11
jaafarMy 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-devel10:36
*** zolkis has quit IRC10:37
*** buntfalke has joined #maemo-devel11:57
*** jaafar has quit IRC12:12
*** jaafar has joined #maemo-devel12:12
*** jaafar has quit IRC12:22
*** Tsarpf has quit IRC13:13
*** NIN101 has joined #maemo-devel13:50
*** tron71 has joined #maemo-devel13:58
*** tron71 has quit IRC13:59
*** tron71 has joined #maemo-devel14:01
*** kW has joined #maemo-devel14:16
*** kW has quit IRC14:16
*** kW has joined #maemo-devel14:16
*** tron71 has quit IRC14:58
*** kW has quit IRC15:49
*** kW has joined #maemo-devel15:49
*** buntfalke has quit IRC16:24
*** ppenz has quit IRC16:52
*** _NIN has joined #maemo-devel16:53
*** NIN101 has quit IRC16:55
*** SpeedEvil has quit IRC17:01
*** SpeedEvil has joined #maemo-devel17:02
*** alvaro__ has joined #maemo-devel17:20
*** kW has quit IRC17:38
*** kW has joined #maemo-devel17:46
*** dazo_afk is now known as dazo17:47
*** piotr_ has quit IRC18:09
*** tron71 has joined #maemo-devel18:39
*** lizardo has joined #maemo-devel18:42
*** alvaro__ has quit IRC20:16
*** tron71 has quit IRC20:36
*** buntfalke has joined #maemo-devel20:48
*** BCMM has joined #maemo-devel20:56
*** kW has quit IRC21:30
*** kW has joined #maemo-devel21:30
*** kW has quit IRC21:30
*** kW has joined #maemo-devel21:30
*** floty has joined #maemo-devel21:36
*** dazo is now known as dazo_afk21:49
*** dazo_afk is now known as dazo21:50
*** I-C-Wiener has joined #maemo-devel22:03
*** BCMM has quit IRC22:14
*** swc|666 has joined #maemo-devel22:48
*** BCMM has joined #maemo-devel23:06
*** piotr_ has joined #maemo-devel23:11

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!