03-27-2022 11:10 PM
As per title. I would like to collect ALL message from a machine and dumping them inside a syslog file of 10 MB size that will overwrite it once it is reaching the size limit.
Is that possible and how?
Solved! Go to Solution.
03-28-2022 01:58 AM - last edited on 03-29-2022 05:43 AM by Translator
- Some devices support
pipe
command as to redirect output to a file when showing the logs , and then copy file to external repository with tftp or scp. Note that it is always better to have a syslog server in place for operational follow-up and keeping longtime-logs as you wanted and or then your initial question 'disappears'
M.
03-28-2022 12:02 AM - last edited on 03-29-2022 05:45 AM by Translator
- As far as the first part of your question is concerned the
logging trap ...
command will determine the verbosity of syslog messages being send to the syslog server ,
logging trap debugging
being everything.
M.
03-28-2022 01:08 AM - edited 03-28-2022 01:10 AM
Hi,
i don't have a syslog server, i need to dump inside a single 10MB file in the router itself for further reading
03-28-2022 01:58 AM - last edited on 03-29-2022 05:43 AM by Translator
- Some devices support
pipe
command as to redirect output to a file when showing the logs , and then copy file to external repository with tftp or scp. Note that it is always better to have a syslog server in place for operational follow-up and keeping longtime-logs as you wanted and or then your initial question 'disappears'
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide