Enabling log to file (action=disk) the ROS show log also in log viewer.. this is correct?
It's possible to log to file without fill log memory?
Tnx in advance.
I agree with you.I'm not 100% sure on this, but are you certain that you don't have to memory actions that trigger on the same logs? I think to file should just log to file.
Normis, I not have any memory rules...like he said, disable your "memory" rules first, then see if it happens
[admin@hotspot] /system logging> export
...
/system logging action
set memory memory-lines=100 memory-stop-on-full=no name=memory target=memory
set disk disk-file-count=2 disk-file-name=log disk-lines-per-file=100 \
disk-stop-on-full=no name=disk target=disk
set echo name=echo remember=yes target=echo
set remote bsd-syslog=no name=remote remote=10.20.20.1:514 src-address=\
0.0.0.0 syslog-facility=daemon syslog-severity=auto target=remote
add disk-file-count=1000 disk-file-name=log1 disk-lines-per-file=1000 \
disk-stop-on-full=yes name=action1 target=disk
add disk-file-count=1000 disk-file-name=log2 disk-lines-per-file=1000 \
disk-stop-on-full=yes name=action2 target=disk
add disk-file-count=1000 disk-file-name=log3 disk-lines-per-file=1000 \
disk-stop-on-full=yes name=action3 target=disk
/system logging
add action=action2 disabled=no prefix=HOTSPOT topics=firewall
[admin@hotspot] /ip firewall mangle> export
...
/ip firewall mangle
add action=log chain=forward comment="" connection-state=new disabled=no \
log-prefix=HOTSPOT
Same thing on my RB1000@ROS 4.6...any solution ?Normis, I not have any memory rules...like he said, disable your "memory" rules first, then see if it happens
My loggin export:
And mangle export:Code: Select all[admin@hotspot] /system logging> export ... /system logging action set memory memory-lines=100 memory-stop-on-full=no name=memory target=memory set disk disk-file-count=2 disk-file-name=log disk-lines-per-file=100 \ disk-stop-on-full=no name=disk target=disk set echo name=echo remember=yes target=echo set remote bsd-syslog=no name=remote remote=10.20.20.1:514 src-address=\ 0.0.0.0 syslog-facility=daemon syslog-severity=auto target=remote add disk-file-count=1000 disk-file-name=log1 disk-lines-per-file=1000 \ disk-stop-on-full=yes name=action1 target=disk add disk-file-count=1000 disk-file-name=log2 disk-lines-per-file=1000 \ disk-stop-on-full=yes name=action2 target=disk add disk-file-count=1000 disk-file-name=log3 disk-lines-per-file=1000 \ disk-stop-on-full=yes name=action3 target=disk /system logging add action=action2 disabled=no prefix=HOTSPOT topics=firewall
The logs are redirected eother on file and on memory.Code: Select all[admin@hotspot] /ip firewall mangle> export ... /ip firewall mangle add action=log chain=forward comment="" connection-state=new disabled=no \ log-prefix=HOTSPOT
Where I m wrong?
ROS V4.6