Log all activity to file

Hello!
I have mikrotik 4.17 with hotspot server+radius. Maybe someone can help me, and answer how make a log file to log all user activity (maybe firewall-loging)? With it i wanna log an additional data as MAC, source- and destination- IP, protocol and port.

Thanks in advance!

why don’t u add a syslog server and capture all logs of ur hotspot on remote server.

Thanks a lot for Your idea, but i don’t need one more server, i have mikrotik with large hdd, so i wanna use it… Please, help with my problem!

Perhaps Calea module. Check NAND storage on RB first.

Then go to logging and capture all ur logs in Disk…

Sorry, but i’m novice in mikrotik. Please, can You describe how to do this? :slight_smile:
Thanks in advance!

go to system logging and add add a topic=“whatever logs you want to save” action=disk

/sys logging add topic=hotspot action=disk

Yes, i have this configuration, but it’s log only hotspot and radius messages, not all traffic like we can see in IP → Firewall → Connections. I need log hotspot users ip (maybe MAC), time and destanation ip and port.

Try This

 /ip accounting set enabled=yes account-local-traffic=yes



/ip accounting web-access set accessible-via-web=yes