Code Monkey home page Code Monkey logo

ic880a-setup-scripts's People

Contributors

becabbage avatar schulti avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

charugaa

ic880a-setup-scripts's Issues

How can you reduce log verbosity?

Currently every single packet gets logged to syslog and to daemon.log creating multiple MB of logfiles per day.

For example:

May 17 11:01:12 pi4-imst2 ttn-gateway[410]: ##### 2023-05-17 09:00:12 GMT #####
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: ### [UPSTREAM] ###
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # RF packets received by concentrator: 6
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # CRC_OK: 83.33%, CRC_FAIL: 16.67%, NO_CRC: 0.00%
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # RF packets forwarded: 5 (120 bytes)
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PUSH_DATA datagrams sent: 6 (1434 bytes)
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PUSH_DATA acknowledged: 100.00%
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: ### [DOWNSTREAM] ###
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PULL_DATA sent: 3 (100.00% acknowledged)
May 17 11:01:12 pi4-imst2 ttn-gateway[410]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # RF packets sent to concentrator: 0 (0 bytes)
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # TX errors: 0
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: ### [GPS] ###
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # Invalid gps time reference (age: 1684314012 sec)
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: # Manual GPS coordinates: latitude <>, longitude <>, altitude 425 m
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: ##### END #####
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 13 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 11 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 13 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [down] for server mux.openiot.network PULL_ACK received in 12 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 16 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 12 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 10 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [down] for server mux.openiot.network PULL_ACK received in 12 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 17 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [down] for server mux.openiot.network PULL_ACK received in 18 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: INFO: [up] PUSH_ACK for server mux.openiot.network received in 13 ms
May 17 11:01:13 pi4-imst2 ttn-gateway[410]: ##### 2023-05-17 09:01:12 GMT #####

Is there any way to only log WARNINGs and ERRORs ?

Error during gateway status check

Everything seems to work smoothly except for when I run the final script to check the gateway status and get the error
[ERROR]: There are not enough start.sh scripts running.

What does this mean? Can someone please help me with this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.