I don't know for sure. In theory all logs regardless of level are passed to the logger (syslog-ng or syslog) which decides based on its configuration what to log where. The configuration can use the log level to decide what to put where.I hid these as I wasn't sure what impact, if any, the settings had when running through syslog-ng. @cmkelley do you know if the settings still apply?
I can re-expose the logger settings if anyone wants to give it a go?I don't know for sure. In theory all logs regardless of level are passed to the logger (syslog-ng or syslog) which decides based on its configuration what to log where. The configuration can use the log level to decide what to put where.
But I don't know if the custom Asus kernel filters by log level before sending logs to the logger.
I can re-expose the logger settings if anyone wants to give it a go?
You have to have set up the Diversion filter for scribe (more specifically syslog-ng)now working fine.
i have diversion installed, but no section on gui.
The html elements are still on the page, you should just need to remove the display:noneI'll give it a try! Guinea pig me! Guinea pick me!
/tmp/home/root# /usr/sbin/curl --retry 3 "https://raw
.githubusercontent.com/jackyaz/uiScribe/master/uiScribe.sh" -o "/jffs/scripts/ui
Scribe" && chmod 0755 /jffs/scripts/uiScribe && /jffs/scripts/uiScribe install
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12804 100 12804 0 0 18857 0 --:--:-- --:--:-- --:--:-- 30853
uiScribe: Welcome to uiScribe v0.2.0, a script by JackYaz
uiScribe: Checking your router meets the requirements for uiScribe
uiScribe: uiScribe installed successfully!
Ya! Another useful script! I was starting to worry about you. I was missing our daily @Jack Yaz scripts!BETA
v0.2.0
Updated 2019-06-10
Customise the System Log page to show log files created by Scribe (syslog-ng). Requires Scribe by @cmkelley
Support for Scribe can be found here: https://www.snbforums.com/threads/scribe-syslog-ng-and-logrotate-installer.55853/
uiScribe is free to use under the GNU General Public License version 3 (GPL 3.0).
This project is hosted on GitHub
Love the script and want to support future development? Any and all donations gratefully received! PayPal donation
Supported Models
Models
All modes supported by Asuswrt-Merlin. Models confirmed to work are below:
Firmware versions
- RT-AC86U
You must be running firmware no older than:
Installation
- Asuswrt-Merlin 380.68
Using your preferred SSH client/terminal, copy and paste the following command, then press Enter:
Code:/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiScribe/master/uiScribe.sh" -o "/jffs/scripts/uiScribe" && chmod 0755 /jffs/scripts/uiScribe && /jffs/scripts/uiScribe install
Usage
To launch the uiScribe menu after installation, use:
Code:uiScribe
If this does not work, you will need to use the full path:
UpdatingCode:/jffs/scripts/uiScribe
Launch uiScribe and select option u , then run uiScribe
0.3.0 should handle this better (hopefully)1. I think it is a safe assumption that all logs would be pointed to /opt/var/log. I don't know why some of these blocks are referring to /var/log.
2. It is not a safe assumption that all logs end in .log, but I think it is a good practice to enforce. Messages, for example, doesn't end in .log, and there is nothing that guides someone to define a destination file as including it (I have a file called startupmessages, for example, which is the syslog.log file up to killing syslogd and starting syslog-ng). I'm assuming this way you can ignore the rotated logs, compressed or not. We also have the dnsmasq.log created by diversion; I have a collectd.log file.
3. I do not have a number of other logs that are not relevant to me: the wlcevent log, the crash log or netdata logs.
is this apart of the package now0.3.0 is out, uiScribe should now handle those with non .log or /opt/var/log file destinations
For now, for people to test if those settings affect syslog-ng or notis this apart of the package now
View attachment 18165
@L&LDIT's ALIVE!
and working on my RT-AC5300
View attachment 18163
I can imagine how the page would look if I had 30 or more filters......
@Jack Yaz
You are slowly taking over the GUI..
What is going to be the next adventure... ScriMerlin with a database with all the possible examlpes writable to /opt for ease of use ?
0.3.0 is out, uiScribe should now handle those with non .log or /opt/var/log file destinations
0.4.0 might pleasantly surprise youA small request for v1.0.
Could the sections be shown minimized when the page is selected?
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!