tcutting wrote: 
> When using applets in JiveLite (on PiCorePlayer), where to the logs go? 
> I've reviewed the log file specified by the PiCorePlayer configuration
> (Squeezelite settings/log file name), but I don't find any of the
> expected log messages from an applet.  Where do the applet logs go?  Do
> I have to configure something to actually create logs from the applet?

The logs are written to /dev/null by default.  Here's how I setup
jivelite to get the logs.

Copy the attached script jivelite.sh.txt to
/mnt/mmcblk0p2/tce/jivelite.sh and make it executable.

Update /home/tc/www/cgi-bin/do_rebootstuff.sh to point to the new
script.


Code:
--------------------
    --- /home/tc/www/cgi-bin/do_rebootstuff.sh.orig
  +++ /home/tc/www/cgi-bin/do_rebootstuff.sh
  @@ -431,5 +431,5 @@
  
  export HOME=/home/tc
  echo "${GREEN}Done.${NORMAL}"
  -    sudo -E -b /opt/jivelite/bin/jivelite.sh
  +    sudo -E -b /mnt/mmcblk0p2/tce/jivelite.sh
  fi
  
--------------------


Save the configuration and reboot.

You'll find the log file at /mnt/mmcblk0p2/tce/jivelite.log

Jivelite buffers the log file and only flushes it to disk occasionally. 
I quit jivelite from the menu before looking at the log file to flush
the last entries to it.  The script appends to the log and you can use
the line Jivelite 0.1.0 to identify each jivelite starting point in the
log.


+-------------------------------------------------------------------+
|Filename: jivelite.sh.txt                                          |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=19779|
+-------------------------------------------------------------------+


Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to