Expand log shouldn't be there, that's for debugging syslog-ng issues is it not?
Glad that sorted it. I'll fix that in the next version (i.e. Exclude it from the UI list)Thanks removed that filter - reinstalled uiScribe - all working perfectly now
Scribe is doing the heavy lifting to get syslog-ng installed and configured so easily, all I'm doing is loading that into some textareas!Scribe is gobbledygook for me at the moment so I’ve sat back and followed the thread with a lot of interest and learning a little more as your uiScribe script progresses and the input from the people who do understand
I have now installed Scribe and uiScribe
Thank you for turning a subject I don’t really understand into a product a complete novice like myself can understand [emoji106]
Sent from my iPad using Tapatalk
Scribe is doing the heavy lifting to get syslog-ng installed and configured so easily, all I'm doing is loading that into some textareas!
That said, it should have processed it like any other file and listed '/opt/var/log/expanded-syslog.log' instead of 'file("/opt/var/log/expanded-syslog.log" template(t_expandlog));' It's not unreasonable to expect someone may use a template or other modifier to the file statement.Glad that sorted it. I'll fix that in the next version (i.e. Exclude it from the UI list)
Thanks for the vote of confidence. I guess it all depends on what we consider easy. To me, getting it into the webui is magic incantations.Scribe is doing the heavy lifting to get syslog-ng installed and configured so easily, all I'm doing is loading that into some textareas!
I'll look to improve my rookie sedding to deal with these lines properlyThat said, it should have processed it like any other file and listed '/opt/var/log/expanded-syslog.log' instead of 'file("/opt/var/log/expanded-syslog.log" template(t_expandlog));' It's not unreasonable to expect someone may use a template or other modifier to the file statement.
I've no heartburn with excluding it though ... it gets big really quick and as you noted it really is for debugging.
You have lines for crash.log and wlcevent.log because filters for those logs are in /opt/etc/syslog-ng.d/ -- uiScribe looks for the logfiles listed in the filters, not the logfiles that are actually in /opt/var/log.1. Uninstalled and reinstalled 4.1, same problems. The two squibs at the bottom are partial snips from the block source lines in the /'jffs/scripts/uiScribe.d/.logs file.
2. .logs contains a line for crash.log and wlcevent.log, neither of which I have on my 87U (I think this is peculiar to the 86U, yes?)
2. Out of curiousity, since this all requires a USB drive, why are the ui files in /jffs/scripts rather than in /opt directories?
True. What precisely does it look for: configuration files, destination definitions, filter definitions, or log statements? I have other filters, other log statements, and other destinations, and other configuration files including those in that directory.ou have lines for crash.log and wlcevent.log because filters for those logs are in /opt/etc/syslog-ng.d/
Gotta ask @Jack Yaz that or delve into the code yourself. I've not looked at it in depth, just had a short discussion with him about it.True. What precisely does it look for: configuration files, destination definitions, filter definitions, or log statements? I have other filters, other log statements, and other destinations, and other configuration files including those in that directory.
Oh yeah, I already forgot about that. DuhhhhhhhhhI'm using that command you sent me to produce a list of file targets
Actually any path/extension should now be shown, but due to my (lazy) pattern matching, if there's anything after ") for the file path (e.g. Template) it is incorrectly included. I should have a patch out tonightOh yeah, I already forgot about that. Duhhhhhhhhh
@elorimer - it generates the list of log files from the configuration that would be loaded if you restarted syslog-ng, Usually this should be the same as what's loaded into the running copy of syslog-ng, but if you've recently copied files into the syslog-ng.d directory then it will look for those log files even though the filter might not actually be active yet.
Note, however, that it ignores any file statements that don't have '/var/log' in file statement. This is because there is an assumption that you any files you are sourcing (like the logrotate status file) won't already be in /opt/var/log. However, any logs you are sending elsewhere for some reason also won't be shown on the webui.
0.4.2 is available
Changelog:Code:More reliable symlink updating More robust processing of log destinations
Update using u, then launch uiScribe afterwards
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!