What's new

uiScribe uiScribe - Custom System Log page for "scribed" logs

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

My one question today is, not really important, but is there away to make the time on the clock appear more accurate, or is it going to be limited by the speed it takes to load with the script and custom gui running on top of it. Note: this is not a critical issue, just a cosmetic question.
Is the clock gradually drifting, or wrong from page load?
 
Thank you [emoji106]


Sent from my iPad using Tapatalk
 
Last edited:
Anyone else noticing their system log page slow to load? Have uninstalled and reinstalled UiScribe to see if that was making a difference. Other router pages load fast so I'd assume its a big log issue?
 
My systems log page is also slow to load as well. Show all, hide all and scrolling up and the systems log page has almost come to stop


Sent from my iPad using Tapatalk
 
Anyone else noticing their system log page slow to load? Have uninstalled and reinstalled UiScribe to see if that was making a difference. Other router pages load fast so I'd assume its a big log issue?
Increase the frequency of logrotate for the larger files
 
My systems log page is also slow to load as well. Show all, hide all and scrolling up and the systems log page has almost come to stop


Sent from my iPad using Tapatalk
You need to properly configure logrotate to keep individual log files <1MB (or less)
 
You need to properly configure logrotate to keep individual log files <1MB (or less)

Thank you, I will have a play later [emoji4]


Sent from my iPad using Tapatalk
 
You need to properly configure logrotate to keep individual log files <1MB (or less)
You've probably nailed it on the head. I'll admit I have UiScribe installed but haven't configured anything within it. So in order to show my ignorance how do I go about configuring the logrotate as you suggested?
 
I’m always happy to play and figure things out but thank you for asking that question [emoji4]


Sent from my iPad using Tapatalk
 
I’m always happy to play and figure things out but thank you for asking that question [emoji4]


Sent from my iPad using Tapatalk
Yea same here....rereading all the other post and using my "google fu" to make sure I didn't miss anything simple. Figured I'd post back here once I found something.
 
You've probably nailed it on the head. I'll admit I have UiScribe installed but haven't configured anything within it. So in order to show my ignorance how do I go about configuring the logrotate as you suggested?
@cmkelley is the resident syslog-ng and logrotate expert, so I'll defer to him

For now, take a log in /opt/etc/logrotate.d for existing logrotate files

@cmkelley is it possible to add another cron job for logrotate to check more frequently?
 
Last edited:
@cmkelley is the resident syslog-ng and logrotate expert, so I'll defer to him

For now, take a log in /opt/etc/logrotate.d for existing logrotate files

@cmkelley is it possible to add another cron job for logrotate to check more frequently?
Thanks @Jack Yaz , found these post and hope they point me in the right direction....

https://www.snbforums.com/threads/c...with-merlin-firmware.35095/page-4#post-465058
https://www.snbforums.com/threads/configuring-syslog-ng-with-merlin-firmware.35095
 
There is a far newer and more comprehensive and much, much less complicated thread here, named "scribe - syslog-ng and logrotate installer".
https://www.snbforums.com/threads/scribe-syslog-ng-and-logrotate-installer.55853/
 
So based on this picture I believe it is safe to assume that is my issue. It does look as though it is rotating the logs based on the name of the .log1, .log2 file sizes and such for dnsmasq alone. Not sure what "messages" does as its over 10mb or if the other dnsmasq.log1 or log2 (84mb size) are still needed or would affect the router speed in their current state.
upload_2019-6-23_11-56-16.png
 
Anyone else noticing their system log page slow to load? Have uninstalled and reinstalled UiScribe to see if that was making a difference. Other router pages load fast so I'd assume its a big log issue?
My systems log page is also slow to load as well. Show all, hide all and scrolling up and the systems log page has almost come to stop
Sent from my iPad using Tapatalk
@QuikSilver, I see from your sig you have and 86U, @no_name, how about you?

I ask because I suspect the guilty logfile is crash. Unless you installed scribe very recently, /opt/etc/logrotate.d/crash probably looks like:
Code:
/opt/var/log/crash.log {
    minsize 4096k
    daily
    postrotate
        /usr/bin/killall -HUP syslog-ng
    endscript
}
The culprit is the minsize line. :) Change the minsize line to
Code:
    minsize 1024k
Then you should be able to select lr from the scribe menu, which should detect the logfile is too big and rotate it. Lots of 'should's, I know, I've admittedly not tested this yet. Forcing a log to rotate regardless of if all criteria are met is on my to-do list, but it's a bit more difficult that I originally thought, it's not quite as simple as passing '--force' to logrotate.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top