Community discussions

MikroTik App
 
ewulf
just joined
Topic Author
Posts: 6
Joined: Mon Aug 29, 2016 4:55 pm

Log to Disk Problem RB2011-UiAS-RM + ROS v6.36.2

Tue Aug 30, 2016 12:30 pm

Hi
I tried to log to a external USB flash drive (as described in the wiki http://wiki.mikrotik.com/wiki/Manual:Sy ... ng_to_file) but i get an error with the slash "/" symbol to identify the path and name to the logfile.

/system logging action add disk-file-name="/disk1/log" disk-lines-per-file=1000 disk-file-count=1000 name=extlog_disk1 target=disk
failure: action name can contain only letters and numbers

/system logging action add disk-file-name="disk1/log" disk-lines-per-file=1000 disk-file-count=1000 name=extlog_disk1 target=disk
failure: action name can contain only letters and numbers

Can someone confirm this?

Did I configure something wrong or is this a bug in the latest ROS?
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1664
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

Re: Log to Disk Problem RB2011-UiAS-RM + ROS v6.36.2

Tue Aug 30, 2016 12:51 pm

Error show that name is incorrect, not path:
failure: action name can contain only letters and numbers

This is the problem - name=extlog_disk1
 
ewulf
just joined
Topic Author
Posts: 6
Joined: Mon Aug 29, 2016 4:55 pm

Re: Log to Disk Problem RB2011-UiAS-RM + ROS v6.36.2

Wed Aug 31, 2016 10:20 am

I didn't realise that. Thank you very much for the help! Everything works as expected.