Community discussions

MikroTik App
 
Mackiavelly
just joined
Topic Author
Posts: 12
Joined: Wed Aug 31, 2016 12:59 am

Logs, logs, logs

Wed Aug 31, 2016 1:07 am

how do I split the log files to some logs do not fall into other file logs
eg
syslog (514 port)
log when the device goes into state up
log when the device goes into state down
ie there are 3 log files and need to log in these files do not overlap

как мне разделить файлы логов чтобы одни логи не попадали в файлы других логов
например
syslog (514 port)
лог когда устройстве переходит в состояние up
лог когда устройство переходит в состояние down
тоесть есть 3 файла логов и нужно чтобы логи в этих файлах не пересекались
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2879
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Logs, logs, logs

Wed Aug 31, 2016 7:51 am

A. Please do not use Russian ... just English.
B. Mikrotik does not split logs. You can send logs to the log server which should do the work.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Logs, logs, logs

Wed Aug 31, 2016 8:40 am

There is no boot up logging, only common ros logging that can be split into different files by topics, not by any of described states. Actually there are no such states. Ros doesn't go down, you just switch off the power, so there is nothing to log...
 
Mackiavelly
just joined
Topic Author
Posts: 12
Joined: Wed Aug 31, 2016 12:59 am

Re: Logs, logs, logs

Wed Aug 31, 2016 4:48 pm

in old version dude 4.0.3 was good system split log in custom file...
why no make similarly system, moreover such a system have been previously?
 
Mackiavelly
just joined
Topic Author
Posts: 12
Joined: Wed Aug 31, 2016 12:59 am

Re: Logs, logs, logs

Wed Aug 31, 2016 4:53 pm

There is no boot up logging, only common ros logging that can be split into different files by topics, not by any of described states. Actually there are no such states. Ros doesn't go down, you just switch off the power, so there is nothing to log...
it was example, no more.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Logs, logs, logs

Thu Sep 01, 2016 5:25 pm

OK, just an example. It means you do not need it. Is the splitting the log files by topics usable for you or not?
 
Mackiavelly
just joined
Topic Author
Posts: 12
Joined: Wed Aug 31, 2016 12:59 am

Re: Logs, logs, logs

Thu Nov 02, 2017 12:54 pm

OK, just an example. It means you do not need it. Is the splitting the log files by topics usable for you or not?
yes
 
Mackiavelly
just joined
Topic Author
Posts: 12
Joined: Wed Aug 31, 2016 12:59 am

Re: Logs, logs, logs

Thu Nov 02, 2017 12:54 pm

OK, just an example. It means you do not need it. Is the splitting the log files by topics usable for you or not?
yes
 
eriitguy
Member Candidate
Member Candidate
Posts: 197
Joined: Thu Jan 26, 2017 1:16 pm

Re: Logs, logs, logs

Thu Nov 02, 2017 5:29 pm

Mackiavelly,

A request was created and we are waiting to be implemented: Feature request - Multiple logs instances.

Task you trying to accomplish may be easy done via Kiwi Syslog.
Rule 1 - Syslog
Rule 2 - Device up
Rule 3 - Device down


Thank you!

Who is online

Users browsing this forum: No registered users and 19 guests