Hello Team,
I would like to log to disk when a l2tp user is connecting or disconnecting to the Mikrotik VPN server
Currently, with the default settings, I can see something like this:
12:26:42 l2tp,ppp,info <l2tp-user>: connected
12:26:46 l2tp,ppp,info <l2tp-user>: disconnected
I need more lines for this (To have events from more days ago)
Also I added the following action:
/system logging action
add disk-file-name=vpn.log disk-lines-per-file=10000 name=VPN target=disk
If I add a rule for “l2tp” topic with this action, it continues being logged to memory
If I disable the rule for “info”, this is not logged
If I add a log prefix to the firewall rule which is accepting the l2tp connections, a lot of useless lines are logged
I did not found how to accomplish this.
Any idea?
Thanks in advance.
Regards,
Damián
