Skip to content

Conversation

@hnws
Copy link
Contributor

@hnws hnws commented Mar 22, 2025

No description provided.

@hnws
Copy link
Contributor Author

hnws commented Mar 22, 2025

Mar 21 14:00:00 exp.hnws.me systemd[1]: Started AlexxIT go2rtc.
Mar 21 14:00:00 exp.hnws.me go2rtc[2049592]: 14:00:00.566 INF go2rtc platform=linux/amd64 revision=mod.47f32a5 version=1.9.9
Mar 21 14:00:00 exp.hnws.me go2rtc[2049592]: 14:00:00.566 INF config path=/etc/go2rtc.conf
Mar 21 14:00:00 exp.hnws.me go2rtc[2049592]: 14:00:00.567 INF [api] listen addr=:1984
Mar 21 14:00:00 exp.hnws.me go2rtc[2049592]: 14:00:00.567 INF [rtsp] listen addr=:8554
Mar 21 14:00:00 exp.hnws.me go2rtc[2049592]: 14:00:00.568 INF [webrtc] listen addr=:8556
Mar 21 15:22:25 exp.hnws.me go2rtc[2049592]: 2025/03/21 15:22:25 [INFO] WebRTC connection setup failed, retrying in 30 seconds (attempt 1/2): nest: wrong s>
Mar 21 15:47:25 exp.hnws.me go2rtc[2049592]: 2025/03/21 15:47:25 [INFO] Nest API request failed with status 429, retrying in 30 seconds (attempt 1/2)
Mar 21 16:01:35 exp.hnws.me go2rtc[2049592]: 2025/03/21 16:01:35 [INFO] Nest API request failed with status 429, retrying in 30 seconds (attempt 1/2)
Mar 21 16:59:26 exp.hnws.me go2rtc[2049592]: 2025/03/21 16:59:26 [INFO] Nest API request failed with status 429, retrying in 30 seconds (attempt 1/2)
Mar 21 17:18:46 exp.hnws.me go2rtc[2049592]: 2025/03/21 17:18:46 [INFO] Nest API request failed with status 429, retrying in 30 seconds (attempt 1/2)
Mar 21 17:22:46 exp.hnws.me go2rtc[2049592]: 2025/03/21 17:22:46 [INFO] Nest API request failed with status 429, retrying in 30 seconds (attempt 1/2)
Mar 21 22:21:17 exp.hnws.me go2rtc[2049592]: 2025/03/21 22:21:17 [INFO] Nest API request failed with status 429, retrying in 30 seconds (attempt 1/2)
Mar 21 23:06:48 exp.hnws.me go2rtc[2049592]: exit with signal: terminated
Mar 21 23:06:48 exp.hnws.me systemd[1]: Stopping AlexxIT go2rtc...
Mar 21 23:06:48 exp.hnws.me systemd[1]: go2rtc.service: Deactivated successfully.
Mar 21 23:06:48 exp.hnws.me systemd[1]: Stopped AlexxIT go2rtc.

@hnws
Copy link
Contributor Author

hnws commented Mar 22, 2025

The above logging was just changed to use zerolog.
I am running this locally.
This should solve #1397

@AlexxIT
Copy link
Owner

AlexxIT commented Mar 22, 2025

internal package should not be used inside pkg package. There is no way to use loggers in pkg yet.

@hnws
Copy link
Contributor Author

hnws commented Mar 23, 2025

I think it's better to log and see how frequent it happens. If I want to log at debug level, should I just import zerolog in the file? Or do you mean in pkg there should not be logging at all?

@AlexxIT
Copy link
Owner

AlexxIT commented Mar 24, 2025

pkg can be used in any go app. This app can have their own logger library.

There is no way to log something in the pkg yet.

@hnws
Copy link
Contributor Author

hnws commented May 2, 2025

I just removed the logging. Please kindly take a look.

@AlexxIT AlexxIT merged commit 7107508 into AlexxIT:master May 2, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented May 2, 2025

Thanks!

@AlexxIT
Copy link
Owner

AlexxIT commented Sep 24, 2025

@AlexxIT AlexxIT added this to the master milestone Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants