scribe v2.1_0 is out.
- The big thing (that I thought was a little thing until it turned out to affect most of the functions!) is the ability to stop syslog-ng and logrotate, and start the firmware syslogd, without uninstalling scribe/syslog-ng/logrotate. Note that if you reboot with syslog-ng & logrotate stopped, they will re-start at bootup and shut down syslogd. Also, it's all or nothing, there is no option for instance to shut down syslog-ng and leave logrotate running or vice versa.
- scribe now adds a line to the unmount script in /jffs/scripts (or creates it if unmount isn't present) that runs the above stop routine when unmounting the usb with scribe on it. The code to accomplish this was stolen blatantly and without remorse from
@thelonelycoder. Hey, if it works, don't screw with it.
- There is now a command to reload the syslog-ng configuration. After you copy files into the /opt/etc/syslog-ng.d/ directory, you need to tell scribe to reload its configuration for the new files to be included.
- Added some things to the status page. The status page tries to ensure the correct links, the correct lines in script files, and the like are present. It attempts to fix any issues it finds. Also condensed the status page, removing a lot of blank lines.
- The scribe menu will show a (very) limited set of options if the scribe script is present but it is not (or it thinks it is not) installed. If syslog-ng & logrotate have been stopped, the menu is somewhat limited to remove things you shouldn't do when scribe isn't running.
- Reduced the maximum log sizes for pixelserve and crash to keep the webui from choking if you're using
@Jack Yaz's uiScribe (which is very cool, btw). Note that currently scribe doesn't update anything in the syslog-ng.d or logrotate.d directories in case the user has customized those scripts. The new pixelserv logrotate file will be copied into /opt/share/logrotate/examples, you can then copy it into logrotoate.d. You can force updating crash by, ironically, deleting the crash filter from logrotate.d before updating scribe. It will decide that crash is a new file and copy the updated version to logrotate.d
My todo list now includes
- Add a backup and restore option for the syslog-ng & logrotate configuration files
- Add ability to reset syslog-ng & logrotate configurations to be the same as a new installation
- Gracefully (i.e. ask) update files in syslog-ng.d & logrotate.d
- Have a way in the menu to select what files to copy from the share directories to the .d directories.
- Write some documentation
- Update teh GitHub page