I enabled query logging in dnsmasq and re-routed the log to /var/log/dnsmasq.log.
However, I would like to roll this file over daily using logrotate.
When I attempt to install via opkg install logrotate, I get an error.
root@Gargoyle:/tmp/log# opkg install logrotate
ERROR: No package named logrotate found, try updating your package lists
Installing logrotate on Gargoyle?
Moderator: Moderators
Installing logrotate on Gargoyle?
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Re: Installing logrotate on Gargoyle?
I performed the update as noted, but still dont have that in list
root@Gargoyle:~# opkg list|grep logr
plugin-gargoyle-logread - 20120724-4 - logread for Gargoyle
Is there another repo? This is what I have in /etc/opkg.conf
src/gz chaos_calmer_base http://archive.openwrt.org/chaos_calmer ... kages/base
src/gz chaos_calmer_management http://archive.openwrt.org/chaos_calmer ... management
src/gz chaos_calmer_packages http://archive.openwrt.org/chaos_calmer ... s/packages
src/gz chaos_calmer_routing http://archive.openwrt.org/chaos_calmer ... es/routing
src/gz chaos_calmer_telephony http://archive.openwrt.org/chaos_calmer ... /telephony
root@Gargoyle:~# opkg list|grep logr
plugin-gargoyle-logread - 20120724-4 - logread for Gargoyle
Is there another repo? This is what I have in /etc/opkg.conf
src/gz chaos_calmer_base http://archive.openwrt.org/chaos_calmer ... kages/base
src/gz chaos_calmer_management http://archive.openwrt.org/chaos_calmer ... management
src/gz chaos_calmer_packages http://archive.openwrt.org/chaos_calmer ... s/packages
src/gz chaos_calmer_routing http://archive.openwrt.org/chaos_calmer ... es/routing
src/gz chaos_calmer_telephony http://archive.openwrt.org/chaos_calmer ... /telephony
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Re: Installing logrotate on Gargoyle?
That package never existed in the Chaos Calmer package repo.
It will probably be available in the next Gargoyle release based on the remerge of LEDE/Openwrt
It will probably be available in the next Gargoyle release based on the remerge of LEDE/Openwrt
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Installing logrotate on Gargoyle?
so that is a wait until next release? I do think the dnsmasq.log gets cleared after reboot, so I can do that in meantime.
please clarify.
thanks for all the help!
please clarify.
thanks for all the help!
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Re: Installing logrotate on Gargoyle?
Maybe not actually. I don’t see it in the latest repo either.
You can compile it yourself from here though:
https://github.com/openwrt/packages/tre ... /logrotate
You’d need to get Gargoyle compiling first, then drop this package in and configure the config for building it.
You can compile it yourself from here though:
https://github.com/openwrt/packages/tre ... /logrotate
You’d need to get Gargoyle compiling first, then drop this package in and configure the config for building it.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Installing logrotate on Gargoyle?
I am afraid that goes beyond my comfort zone. For now I have put in a 32GB USB drive and redirected the dnsmasq logfile to the drive. Will be awhile before filling up.
Should I fill out a request/jira to have logrotate as a standard gargoyle or openwrt package?
Should I fill out a request/jira to have logrotate as a standard gargoyle or openwrt package?
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Re: Installing logrotate on Gargoyle?
You can make a post in feature requests. It doesn’t get monitored heavily.
Sorry.
It is already in the Openwrt package repo it just doesn’t seem to be being picked up. You could try checking with them.
Alternatively, compiling firmwares isn’t that hard I’m sure you could get it working. We are happy to help you get up and running.
Sorry.
It is already in the Openwrt package repo it just doesn’t seem to be being picked up. You could try checking with them.
Alternatively, compiling firmwares isn’t that hard I’m sure you could get it working. We are happy to help you get up and running.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Installing logrotate on Gargoyle?
Hey, this now works in 1.12.
good stuff. thanks!
Code: Select all
opkg update
opkg install logrotate
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi