SIP
Turning off log messages - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Plugin questions (https://nosack.com/sipforum/forumdisplay.php?fid=6)
+--- Thread: Turning off log messages (/showthread.php?tid=305)



Turning off log messages - RandyBryant - 2023 Mar 12

/var/log/syslog gets lots of these messages:

Mar 11 14:59:02 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65234 - - [11/Mar/2023 14:59:02] "HTTP/1.1 GET /api/log" - 200 OK
Mar 11 14:59:03 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60633 - - [11/Mar/2023 14:59:03] "HTTP/1.1 GET /api/systemStatus" - 200 OK
Mar 11 14:59:03 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60636 - - [11/Mar/2023 14:59:03] "HTTP/1.1 GET /api/programStatus" - 200 OK
Mar 11 14:59:03 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60633 - - [11/Mar/2023 14:59:03] "HTTP/1.1 GET /api/log" - 200 OK
Mar 11 14:59:08 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65232 - - [11/Mar/2023 14:59:08] "HTTP/1.1 GET /api/systemStatus" - 200 OK
Mar 11 14:59:08 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65233 - - [11/Mar/2023 14:59:08] "HTTP/1.1 GET /api/programStatus" - 200 OK
Mar 11 14:59:08 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:65232 - - [11/Mar/2023 14:59:08] "HTTP/1.1 GET /api/log" - 200 OK
Mar 11 14:59:09 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60633 - - [11/Mar/2023 14:59:09] "HTTP/1.1 GET /api/systemStatus" - 200 OK
Mar 11 14:59:09 SprinklerSystem sip[1140]: ::ffff:192.168.254.106:60636 - - [11/Mar/2023 14:59:09] "HTTP/1.1 GET /api/programStatus" - 200 OK

Is there a way to turn them off?


RE: Turning off log messages - dan - 2023 Mar 12

This is worth a read:
https://raspberrypi.stackexchange.com/questions/109422/how-to-disable-logs