GL-X3000 modem log bloat

I have an X3000 with an ethernet WAN and a SIM for 4G/5G fallback and management access. There is very little traffic through the modem but the log is overrun with these messages:

Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:11:46:065] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:10:733] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:18:201] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: UMTS
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:18:206] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: UMTS
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:18:213] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: UMTS
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:18:629] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: UMTS
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:49:061] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:49:066] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:49:114] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:49:117] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
Jun 26 15:13:00 GL-X3000 netifd modem_0001 (3660): [06-26_16:12:57:412] requestRegistrationState2 MCC: 219, MNC: 2, PS: Attached, DataCap: 5G_NSA
J

They appear in batches of 20 or so in less than one second, repeating between one and five minutes later. If these are just informational and don’t indicate a problem, why are there so many of them?

I know I could suppress them in rsyslog, but it would be better to understand the cause and prevent them happening.

Any and all suggestions welcome :slight_smile:

Sean

OK; I concluded that these requestRegistrationState2 messages are routine status reports from the modem connection manager, rather than evidence of repeated data connections or a fault. The modem remains registered while Ethernet is the active WAN, and the helper repeatedly logs the current mobile registration state even when nothing significant has changed. In my case the messages continued to show PS: Attached, so I wanted to suppress the noise while retaining any warning that the modem had become detached.

I added the following rsyslog rule before the normal logging/forwarding rules:

if ($programname == "netifd" and
    $msg contains "requestRegistrationState2" and
    $msg contains "PS: Attached") then {
    stop
}

This drops only the repetitive healthy-state reports. A requestRegistrationState2 message showing PS: Detached, or other modem errors and disconnection messages, will still be logged.

1 Like

Hello,

May I know which firmware version is your X3000?

Hi bruce – sorry for the long delay; I missed your question when posted.

My X3000 was, and still is, running 0804beta2.

OpenWrt firmware is 21.02-SNAPSHOT / LuCI openwrt-21.02 branch git-22.245.77575-63bfee6