Store logs on USB pendrives

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


Joined: 06 May 2016
Posts: 518

PostPosted: Tue May 17, 2022 5:49    Post subject: Store logs on USB pendrives Reply with quote
I would like to activate a log and store it on usb pendrive. There is a simple step-by-step guide. I would also like to understand what to memorize useful and what not.
Thank you Exclamation
Sponsor
mwchang
DD-WRT Guru


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

PostPosted: Tue May 17, 2022 5:53    Post subject: Re: Store logs on USB pendrives Reply with quote
Frakko wrote:
I would like to activate a log and store it on usb pendrive. There is a simple step-by-step guide. I would also like to understand what to memorize useful and what not.
Thank you Exclamation

For simplicity, you might just wanna enable logging then copy /var/log/messages to the USB drive using ShutDown Script. But some routers might have limited storage.

Following threads looks promising:

DD-WRT Forum :: View topic - System Log on USB
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1257843&sid=75ea4298e2385e770f992974a0427c3a

DD-WRT Forum :: View topic - Logging on usb store AND remote monitoring
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=938666

Logging with DD-WRT - DD-WRT Wiki
https://wiki.dd-wrt.com/wiki/index.php/Logging_with_DD-WRT


_________________
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General 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