Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with logs sent to server #257

Closed
lptr opened this issue Dec 4, 2024 · 0 comments · Fixed by #258
Closed

Problems with logs sent to server #257

lptr opened this issue Dec 4, 2024 · 0 comments · Fixed by #258
Labels
bug Something isn't working

Comments

@lptr
Copy link
Member

lptr commented Dec 4, 2024

With the changes in #253 the log messages seem to have developed a few issues:

  • They appear out-of-order
  • They are have newlines at the end
  • The cut-off at 128 characters is too short for some messages
  • They all appear to be reported as [Warning]
2024-12-04 11:46:05.116 [Warning] I (502) farmhub: Light sleep is enabled

2024-12-04 11:46:05.121 [Warning] I (524) farmhub: mDNS: initializing

2024-12-04 11:46:05.474 [Warning] I (524) farmhub: RTC: time is already set

2024-12-04 11:46:05.501 [Warning] I (625) farmhub:  |  __/ _` | '__| '_ ` _ \|  __  | | | | '_ \

2024-12-04 11:46:05.502 [Warning] I (631) farmhub:  | | | (_| | |  | | | | | | |  | | |_| | |_) |

2024-12-04 11:46:05.503 [Warning] I (637) farmhub:  |_|  \__,_|_|  |_| |_| |_|_|  |_|\__,_|_.__/ 0.32.0-rc-4

2024-12-04 11:46:05.548 [Warning] I (644) farmhub: Registering switch factory-reset on pin BOOT, mode pull-up

2024-12-04 11:46:05.548 [Warning] I (652) farmhub: Battery configured

2024-12-04 11:46:05.549 [Warning] I (658) farmhub: Loading configuration for 1 user-configured peripherals

2024-12-04 11:46:05.569 [Warning] I (660) farmhub: Creating peripheral with config: {"name":"flow-control-a","type":"flow-control","params":{"valve":{"motor":"a"
2024-12-04 11:46:05.571 [Warning] I (682) farmhub: Effective configuration for '/p/flow-control-a': {"schedule":[]}

2024-12-04 11:46:05.572 [Warning] I (686) farmhub: Creating valve 'flow-control-a' with strategy latching with switch duration 500ms with switch duty 100.00%

2024-12-04 11:46:05.585 [Warning] I (694) farmhub: Restored state for valve 'flow-control-a' from NVS: 0

2024-12-04 11:46:05.590 [Warning] I (1204) farmhub: Valve 'flow-control-a' state is -1, will change after 9223372036.85 sec at -7490029407

2024-12-04 11:46:05.590 [Warning] I (698) farmhub: Closing valve 'flow-control-a'

2024-12-04 11:46:05.628 [Warning] I (1211) farmhub: Valve 'flow-control-a' state is -1, will change after 9223372036.85 sec at -7490029407

2024-12-04 11:46:05.643 [Error] W (527) phy_init: failed to load RF calibration data (0xffffffff), falling back to full calibration

2024-12-04 11:46:05.648 [Warning] I (1205) farmhub: Initializing flow meter on pin A1 with Q = 5.00

2024-12-04 11:46:05.680 [Error] W (560) phy_init: saving new calibration data because of checksum failure, mode(2)

2024-12-04 11:46:05.701 [Warning] I (526) farmhub: Initializing FarmHub kernel version 0.32.0-rc-4 on mk6 instance 'cud' with hostname 'cud' and MAC address ec:d
2024-12-04 11:46:05.706 [Warning] I (613) farmhub: Initializing analog battery driver on pin BATTERY

2024-12-04 11:46:05.708 [Warning] I (2120) farmhub: mDNS: configured

2024-12-04 11:46:05.744 [Warning] I (616) farmhub:   ______                   _    _       _

2024-12-04 11:46:05.745 [Warning] I (617) farmhub:  |  ____|                 | |  | |     | |

2024-12-04 11:46:05.747 [Warning] I (620) farmhub:  | |__ __ _ _ __ _ __ ___ | |__| |_   _| |__

2024-12-04 11:46:05.756 [Warning] I (2402) farmhub: Device ready in 2.03 s (kernel version 0.32.0-rc-4 on mk6 instance 'cud' with hostname 'cud' and IP '192.168.
@lptr lptr added the bug Something isn't working label Dec 4, 2024
@lptr lptr mentioned this issue Dec 4, 2024
4 tasks
@lptr lptr closed this as completed in #258 Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant