I've been messing with the weblet logs in EigenSteinB2, trying to figure out how to get them to show up in the weblet along with messages.log and the others. There seem to be some interacting problems with this, though.
If I move the weblet sh-log's into /var/log, everything works peachy until the next log rotation, at which point the ownership of the files revert to root and the weblet can't access them anymore. (One of the commands buried in the scripts has a 'preserve' option which I think is supposed to keep this from happening but it didn't seem to work) I tried the reverse, leaving the sh-log's in /var/sh-log but don't seem to be able to find a way to get the weblet cgi to access the logs in the other directory. Check this out, though. I tried creating a set of symbolic links in /var/log that don't rotate but point to the /var/sh-log's and that actually worked great. Except...... I lose all the symlinks on a reboot. So, has anyone figured out how to do this independently? Or can someone point out how to set up symlinks during the boot-up? Incidentally, the logs section of my weblet looks like this now (note the new sh-httpd.log entry): ----------- 8< ----------- Log Files: Current Archives All Description messages 0 1 2 3 All System Messages, including denied packets syslog 0 1 2 3 All General log file - lots of info auth.log 0 1 2 3 All Who's logged in recently debug 0 1 2 3 All debugging information daemon.log 0 1 2 3 All daemon (server programs) messages kern.log 0 1 2 3 All kernel messages ppp.log 0 1 2 3 All ppp log files pslave.log 0 1 2 3 All portslave log files user.log 0 1 2 3 All user log files sh-httpd.log 0 1 2 3 All http log files ----------- 8< ----------- -John __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
