This question arrives in a characteristic order. Someone opens a café, sets up guest Wi-Fi, then hears that "Wi-Fi providers must keep logs". What usually follows is one of two things, and both are wrong: storing everything, or storing nothing.
The middle ground isn't complicated, but it requires one step that's often skipped, first establishing whether the duty applies to you at all.
Who the duty attaches to
The distinction that decides everything is between providing internet service and using a connection and sharing it.
| Service provider | Customer sharing a connection | |
|---|---|---|
| Example | Licensed internet provider | Café, office, boarding house, clinic |
| Sells access | Yes, as the core business | No, or merely as an amenity |
| Registered as a provider | Yes | No |
| Retention duty | Attaches | Generally not |
A café that subscribes to internet like a household and shares it with guests sits in the right column. The legally binding records are kept by its internet provider, not by the café.
The line shifts if you sell the access. Selling vouchers to neighbours, taking monthly fees from several households, or reselling the connection to other units as a paid service moves you toward the left column. That's discussed in the guide to community network legality.
Why keep anything at all
The absence of a duty isn't a reason to record nothing. Three practical needs remain, and all three are yours.
- Tracing faults. When the network slows at certain hours, records of device counts and usage are the only way to answer it definitively, see the guide to internet slowing at certain hours.
- Spotting unusual usage. One device consuming all capacity, or devices connected outside opening hours, see the guide to seeing who's on your Wi-Fi.
- Responding to an official request. If one ever arrives, having tidy timestamps is far better than having nothing.
What's reasonable to record
The principle: record what answers "when and how much", not "who and what were they viewing".
| Reasonable | Better not |
|---|---|
| Connect and disconnect times | Lists of sites visited |
| Device counts per hour | Traffic contents in any form |
| Total data consumed | Passwords or form entries |
| MAC addresses, where genuinely needed | Personal data you don't need |
| Technical events: failed joins, restarts | Recordings of conversations or messages |
The right column isn't merely inadvisable. Intercepting other people's traffic contents raises a different kind of issue, and isn't justified simply because the network is yours. A summary of what attaches to you as a provider is in the guide to Wi-Fi owner responsibility.
On MAC addresses
This is the most commonly misunderstood part. A MAC address is often treated as a mere technical number, yet it points to one specific device. Once it can be linked to a person, through a registration form, for instance, it's treated as personal data.
One correction to an old assumption: MAC addresses are no longer always permanent. iPhones since iOS 14 and modern Android phones use a different random address for each network. On iOS 18, the address used on open networks without a password, such as café Wi-Fi with a login page, even changes roughly every two weeks. So a MAC list can't reliably recognise regular customers, which is one more reason not to keep it for long.
Storing it isn't a violation. Three things demand attention:
Have a purpose you can state
"Just in case" isn't a purpose. "To link a portal session to the login process" is.
Set the duration from the outset
Not decided later when storage fills up. Once it passes, blank the column, the row can stay for statistics.
Don't send it to third parties
Including accidentally. A page address containing a MAC is sent as the referrer to every service that page calls, and that happens with nobody noticing.
The general rules are in the guide to personal data protection, and the collection side in the guide to collecting customer data.
How long
There's no figure that fits everyone, but there is usable logic: keep records while they still answer questions you might ask.
- Technical records: three months. Nearly every fault worth tracing surfaces within days, not months.
- Any personal data: as briefly as possible. If the purpose is fulfilled once the guest is connected, there's no reason to keep it overnight.
- Summary figures: indefinitely is fine. Daily visitor counts point at nobody in particular.
Keeping longer adds obligations, not protection. Records in your possession are records you must protect, and must answer for if they leak. What's already deleted cannot leak.
Four scenarios people often ask about
Your position is easier to see through examples. This table uses the kinds of business that come up most often in Indonesia.
| Scenario | Your position | Sensible records |
|---|---|---|
| Café or warung kopi subscribed to IndiHome or Biznet, password taped to the table | Customer sharing a connection | The router's built-in log: device counts and connection times |
| Twenty-room kos with Wi-Fi included in the rent | Most likely still a customer, since what's sold is the room, not internet | Built-in log, plus a device list per room if each room has its own password |
| A homeowner selling daily vouchers to neighbours, or an RT/RW net collecting fees | Close to reselling internet service | Follow the terms of the licensed provider you partner with; record-keeping duties may attach |
| Clinic or pharmacy with guest Wi-Fi behind a sign-up form | Customer, but holding personal data from the form | Form data falls under the PDP Law; guest network kept apart from medical-record computers |
The third row is the one most often underestimated. Minister of Communication and Informatics Regulation No. 5 of 2021 on Telecommunications Operation recognises the concept of reselling telecommunications services (jual kembali jasa telekomunikasi). In other words, reselling internet access isn't an unregulated grey area. There are proper routes, usually a partnership with a licensed operator or your own licensing through OSS with an NIB and a matching KBLI code. If you're in that row, ask your partner directly which records they expect you to keep.
Logging on MikroTik without overdoing it
Many cafés, boarding houses and voucher businesses in Indonesia run their hotspot on MikroTik. By default, RouterOS keeps its log in memory, capped at 1,000 lines. On a busy network that allowance can run out within hours.
If you need longer records, send the log to a syslog server on another computer using the remote target, then set the retention there to the limit you've already decided on. What to avoid is logging every connection through a firewall rule covering all traffic. The result is close to a list of sites guests visit, exactly the kind of record in the "better not" column above. The hotspot setup itself is in the guide to setting up a MikroTik hotspot for a Wi-Fi business.
If the authorities ask
- Ask for the request as an official letter stating the agency and the officer's name. A WhatsApp message from a personal number claiming to be an officer deserves suspicion.
- Hand over only the time range and data type requested, nothing more.
- Note what you handed over, when, and to whom.
- If the records were already deleted because the retention period passed, say so plainly and show your written policy.
There's one firm line. Installing tools to read guests' traffic contents isn't merely excessive. Interception without right is prohibited: formerly by Article 31 of the ITE Law, and since 2 January 2026 by Article 258 of the new Criminal Code. Owning the network doesn't automatically give you that right.
One development worth watching. PP 33/2026, the implementing regulation of the PDP Law, was enacted in July 2026 and takes effect six months after promulgation. The supervisory authority's powers are also scheduled to take effect in mid-January 2027. If you collect guest data through a form, that's a good moment to review what you store.
If the records leak
The duty most often forgotten: once you store personal data, you have a duty to notify if it leaks, and the deadline is short.
The steps, including to whom and within what period, are in the guide to reporting a data breach.
This is the strongest practical argument for not collecting what you don't need: every extra column is an extra obligation if something happens.
What to do in practice
Establish where you stand
Subscribing as a customer and sharing, or selling access as a business. That answer determines everything else.
Separate guests from business equipment
This reduces what you have to protect in the first place, see the guide to separating guest networks.
Enable the router's built-in logging, nothing more
Most routers already record joins and disconnects. That's adequate operationally, and it doesn't touch traffic contents.
Write the policy down, however briefly
What's recorded, why, for how long. One paragraph on your terms page is enough, see the guide to guest Wi-Fi terms.
Set a reminder to delete
Deletion that depends on memory never happens. Schedule it, or configure it to rotate on its own.
In short
Retention duties attach to internet service providers, not to every venue sharing its connection. Cafés, offices, and boarding houses generally sit outside them.
What remains sensible is modest technical records, with a purpose you can state and a limit set from the outset. Storing more doesn't make you safer, it merely moves the risk from your internet provider onto your own desk.
Read also: Networking for Pharmacies and Dental Clinics and Wi-Fi for Cafés and Restaurants.
Frequently asked questions
Is a café required to keep Wi-Fi usage logs?
Retention duties attach to registered internet service providers, not to every venue that shares its connection. A café subscribing as an ordinary customer is generally outside that duty, the records are kept by its internet provider.
If it isn't required, should logs be kept at all?
Modest technical records are useful for your own purposes: tracing faults, spotting unusual usage, and responding if an official request arrives. What to avoid is storing traffic contents or personal data you don't need.
How long should records be kept?
For operational purposes three months is usually more than enough, nearly every issue worth tracing appears within days. Keeping longer adds no benefit but adds risk if there's ever a breach.
Does storing MAC addresses count as personal data?
A MAC address is the device identifier your network sees. Modern phones often use a random address per network, but as long as it can be linked to a person, through a form for instance, many readings treat it as personal data. Storing it isn't a violation, but it demands a stated purpose and a time limit.
My kos provides free Wi-Fi for tenants. Am I required to keep logs?
If the Wi-Fi is simply a facility included in the rent and you subscribe like an ordinary customer, record-keeping duties generally sit with your ISP, not with you. It's different if you sell access separately, for instance vouchers to people outside the kos. The router's built-in log is still useful for tracing faults.