Community discussions

MikroTik App
 
hunter86bg
just joined
Topic Author
Posts: 8
Joined: Thu May 11, 2017 12:50 pm

Debug logging to usb stick howto

Mon Sep 23, 2019 2:42 pm

Hello Community,
I had recently got an issue that I might have fixed, but if the situation occurs, I would like to have debug logs available.

I have prepared a 64GB usb stick (ext3 formatted and pluged-in) to store the logs, but I can't figure out how to write logs to disk.
Every option I tried creates a flash/log.0.txt instead of disk/mikrotik-logs/log.0.txt

Any ideas what I'm doing wrong ?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Debug logging to usb stick howto

Mon Sep 23, 2019 2:47 pm

 
hunter86bg
just joined
Topic Author
Posts: 8
Joined: Thu May 11, 2017 12:50 pm

Re: Debug logging to usb stick howto

Mon Sep 23, 2019 3:12 pm

I already tested that.
The issue was that the name was not 'name=disk1/mikrotik-logs/log' but I was using 'name=log'.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Debug logging to usb stick howto

Mon Sep 23, 2019 3:56 pm

Disk1 is the name of the usb..