Issue:There are to much log on syslog it look like “debug” or “info” log how to change it to error type ?
Setup: RAKWireless gateway RAK2245 version 4.2.7R install from source code.
Server: Raspberry Pi 3 Model B Plus Rev 1.3, OS “11 (bullseye)”, 6.1.21-v8+.
Details:
Mar 26 16:24:04 Gateway systemd[1]: Started Session 31 of user pi.
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [down] PULL_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Disabling GPS mode for concentrator’s counter…
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: host/sx1301 time offset=(1711455586s:506130µs) - drift=174µs
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 26 16:24:09 Gateway ttn-gateway[515]: ##### 2024-03-26 13:23:39 GMT #####
Mar 26 16:24:09 Gateway ttn-gateway[515]: ### [UPSTREAM] ###
Mar 26 16:24:09 Gateway ttn-gateway[515]: # RF packets received by concentrator: 2
Mar 26 16:24:09 Gateway ttn-gateway[515]: # CRC_OK: 50.00%, CRC_FAIL: 50.00%, NO_CRC: 0.00%
Mar 26 16:24:09 Gateway ttn-gateway[515]: # RF packets forwarded: 1 (24 bytes)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # PUSH_DATA datagrams sent: 2 (421 bytes)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # PUSH_DATA acknowledged: 100.00%
Mar 26 16:24:09 Gateway ttn-gateway[515]: ### [DOWNSTREAM] ###
Mar 26 16:24:09 Gateway ttn-gateway[515]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # TX errors: 0
Mar 26 16:24:09 Gateway ttn-gateway[515]: # TX rejected (collision packet): 0.00% (req:95, rej:0)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # TX rejected (collision beacon): 0.00% (req:95, rej:0)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # TX rejected (too late): 0.00% (req:95, rej:0)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # TX rejected (too early): 6.32% (req:95, rej:6)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # BEACON queued: 0
Mar 26 16:24:09 Gateway ttn-gateway[515]: # BEACON sent so far: 0
Mar 26 16:24:09 Gateway ttn-gateway[515]: # BEACON rejected: 0
Mar 26 16:24:09 Gateway ttn-gateway[515]: ### [JIT] ###
Mar 26 16:24:09 Gateway ttn-gateway[515]: # SX1301 time (PPS): 3832640294
Mar 26 16:24:09 Gateway ttn-gateway[515]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 26 16:24:09 Gateway ttn-gateway[515]: ### [GPS] ###
Mar 26 16:24:09 Gateway ttn-gateway[515]: # Valid time reference (age: 0 sec)
Mar 26 16:24:09 Gateway ttn-gateway[515]: # GPS coordinates: latitude 40.46204, longitude 34.84346, altitude 763 m
Mar 26 16:24:09 Gateway ttn-gateway[515]: ##### END #####
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“stat”:{“time”:“2024-03-26 13:23:39 GMT”,“lati”:40.46204,“long”:34.84346,“alti”:763,“rxnb”:2,“rxok”:1,“rxfw”:1,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 015BDC77 (fcnt=190)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3833244100,“time”:“2024-03-26T13:23:38.746965Z”,“tmms”:1395494637746,“chan”:4,“rfch”:0,“freq”:867.300000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:0.0,“rssi”:-104,“size”:19,“data”:“gHfcWwEAvgADaz5oii/W3AKIAQ==”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [down] PULL_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 015BDC77 (fcnt=189)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3835398940,“time”:“2024-03-26T13:23:40.901812Z”,“tmms”:1395494639901,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-15.8,“rssi”:-123,“size”:12,“data”:“YHfcWwEgvQAItvGk”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 1 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 007CC71D (fcnt=50111)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3839738676,“time”:“2024-03-26T13:23:45.241562Z”,“tmms”:1395494644241,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-15.0,“rssi”:-123,“size”:24,“data”:“QB3HfACAv8MCdUQy5Z1ny5RDcOtH3s1O”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 1 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [down] PULL_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 60214278 (fcnt=1)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3846789076,“time”:“2024-03-26T13:23:52.291987Z”,“tmms”:1395494651291,“chan”:1,“rfch”:1,“freq”:868.300000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-19.0,“rssi”:-123,“size”:43,“data”:“QHhCIWAAAQAKHVX2bKTfl0GJKAO5IotDTPmGEOwZH2vYK2mmnk9JfhvDgQ==”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 1 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 60214237 (fcnt=1)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3851332284,“time”:“2024-03-26T13:23:56.835209Z”,“tmms”:1395494655835,“chan”:0,“rfch”:1,“freq”:868.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-2.2,“rssi”:-120,“size”:43,“data”:“QDdCIWAAAQAK3OyxOqmRLfCqhfow05ha1cyTTMJyIoQLVU4GC5APme7YJA==”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 1 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 00A126B0 (fcnt=215)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3853185268,“time”:“2024-03-26T13:23:58.688199Z”,“tmms”:1395494657688,“chan”:5,“rfch”:0,“freq”:867.500000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-10.8,“rssi”:-120,“size”:23,“data”:“gLAmoQAA1wAD0DCLnx2/6721xCEUBjs=”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [down] PULL_ACK received in 0 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: Received pkt from mote: 00A126B0 (fcnt=215)
Mar 26 16:24:09 Gateway ttn-gateway[515]: JSON up: {“rxpk”:[{“tmst”:3859290196,“time”:“2024-03-26T13:24:04.793147Z”,“tmms”:1395494663793,“chan”:1,“rfch”:1,“freq”:868.300000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:-10.8,“rssi”:-123,“size”:23,“data”:“gLAmoQAA1wAD0DCLnx2/6721xCEUBjs=”}]}
Mar 26 16:24:09 Gateway ttn-gateway[515]: INFO: [up] PUSH_ACK received in 1 ms
Mar 26 16:24:09 Gateway ttn-gateway[515]: ##### 2024-03-26 13:24:09 GMT #####
Mar 26 16:24:09 Gateway ttn-gateway[515]: ### [UPSTREAM] ###
Mar 26 16:24:09 Gateway ttn-gateway[515]: # RF packets received by concentrator: