Log to pendrive

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Author Message
Frakko
DD-WRT Guru


Joined: 06 May 2016
Posts: 518

PostPosted: Thu Dec 29, 2016 6:58    Post subject: Log to pendrive Reply with quote
I think it is not complicated and would improve greatly dd-wrt making it much more flexible.
Why do not you implement saving log on pendrive for devices that have a USB port?
Sponsor
Frakko
DD-WRT Guru


Joined: 06 May 2016
Posts: 518

PostPosted: Sat Jan 14, 2017 9:34    Post subject: Reply with quote
I found, thanks to the help user egc, this link: https://www.dd-wrt.com/wiki/index.php/Logging_with_DD-WRT
I tried to apply it but without success. You can try and possibly tell me if it works? If some guru can apply corrections so that this method can work?
Thank you.
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Wed Jan 03, 2018 15:56    Post subject: Re: Log to pendrive Reply with quote
Frakko wrote:
I think it is not complicated and would improve greatly dd-wrt making it much more flexible.
Why do not you implement saving log on pendrive for devices that have a USB port?

Not a bad idea!

For now, you could telnet into DD-WRT and copy the log to the USB flash drive? It's not automatic but it should work.

Or you could schedule a cron job to copy the log with overwrite to the USB drive periodically. You also could set up the output file name as something like "syslog-YYYYMMDD" for easy management.

BTW, I don't know whether DD-WRT has the logrotate daemon found in most Linux distributions.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Frakko
DD-WRT Guru


Joined: 06 May 2016
Posts: 518

PostPosted: Thu Jan 04, 2018 5:58    Post subject: Reply with quote
At the moment the request has not been answered ... Sad I hope it will be developed as soon as possible. Wink
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14126
Location: Texas, USA

PostPosted: Sat Feb 12, 2022 20:49    Post subject: Reply with quote
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=331542
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum