Remote logging: Request for simple improovement

It would be very helpful, in case “logging remote” would prefix all messages text with the “Identity” of the MT-box.

To make it simple, to differentiate the logs from various clients.
Actually, either the IP is logged, or the user of the domain name, the MT-box is connected thru to the internet.
In case of PPPoE etc. this is the user of domain name of the ISP, which even might change because of dial-up. So, to assemble all log-message from the same physical MT-box is not an easy task, actually. “Identity” would solve this problem.

I’d much prefer if sylog were kept standard so it conforms with all the other devices logging to my syslog server.
If this is implemented as a request please at least make it optional.

fewi - remote bsd-syslog does not suit your needs?

reinerotto - we are seeing a lot of routers with default identity name and with same identity name. That would bring a lot of confusion. Maybe adding prefix to topics you are logging remotely would solve your problem?

It does! What I meant was that if you change the format of syslog messages at all as requested by reinerotto, please make it optional. Syslog as it is right now on RouterOS is perfect for me.

In case, you mean “Identity topics …” in the log message, YES, that would be a good compromise.

So, then instead of

Jul 13 19:28:29 1.2.3.4 wireless,info WiFi: data from unknown device …

I would see

Jul 13 19:28:29 1.2.3.4 Identity_of_my_MT_box wireless,info WiFi: data from unknown device …

Would make sense, definitely. And should not harm fewi, right ?

Addition:
To have “Identity” in the remote log messages, enables syslog-ng on the logging server to directly route the logs from different MT-boxes to different files. As long as “Identity” is unique :slight_smile:
Confirmations from other users for my request welcome !