Community discussions

MikroTik App
 
keg415
just joined
Topic Author
Posts: 18
Joined: Wed Jan 29, 2025 1:45 am

How to reset logging to default settings?  [SOLVED]

Wed Jan 29, 2025 2:24 am

While debugging a problem with /tool/fetch I entered the command /system logging add topics=fetch. Now lots of unwanted messages are logged (attached).
How can I reset logging to default settings? I tried:
/system logging disable [find topics=fetch] 
/system logging reset 4
/system logging disable [find topics=raw]
/system logging disable [find topics=write]
without success. Here are the current settings:
/system logging print
Flags: * - DEFAULT
Columns: TOPICS, ACTION
#   TOPICS    ACTION
0 * info      memory
1 * error     memory
2 * warning   memory
3 * critical  echo  
4   fetch     memory

/system logging action print
Flags: * - default 
 0 * name="memory" target=memory memory-lines=1000 memory-stop-on-full=no 
 1 * name="disk" target=disk disk-file-name="log" disk-lines-per-file=1000 disk-file-count=2 disk-stop-on-full=no 
 2 * name="echo" target=echo remember=yes 
 3 * name="remote" target=remote remote=0.0.0.0 remote-port=514 src-address=0.0.0.0 bsd-syslog=no 
     syslog-time-format=bsd-syslog syslog-facility=daemon syslog-severity=auto 
You do not have the required permissions to view the files attached to this post.
 
ConradPino
Member
Member
Posts: 441
Joined: Sat Jan 21, 2023 12:44 pm
Location: San Francisco Bay
Contact:

Re: How to reset logging to default settings?

Wed Jan 29, 2025 4:19 am

/system logging print
/system logging remove 4
 
keg415
just joined
Topic Author
Posts: 18
Joined: Wed Jan 29, 2025 1:45 am

Re: How to reset logging to default settings?

Wed Jan 29, 2025 9:03 pm

/system logging print
/system logging remove 4
Worked! Many thanks!