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

Logausgaben in der hmlangw.log um Zeitstempel erweitern (RaspberryMatic im LanGW-Modus) #2390

Closed
Baxxy13 opened this issue Aug 16, 2023 · 1 comment · Fixed by #2391
Closed
Labels
💡 enhancement-ideas New feature or change request 🌱 minor This is a issue/ticket which can be easily fixed

Comments

@Baxxy13
Copy link
Contributor

Baxxy13 commented Aug 16, 2023

Describe the solution you'd like

Mittels der /var/log/hmlangw.log kann man gut nachvollziehen ob die Verbindung zur Zentrale "stabil" ist.
Connects und Disconnects werden schön protokolliert.
Die Logeinträge tragen aber leider keine Zeitstempel, also kann man im Nachhinein schwer nachvollziehen wann da was "geklemmt" hat.

Meine Idee ist daher, die Logausgaben um Zeitstempel zu erweitern.

Describe alternatives you've considered

Is your feature request related to a problem?

Es gibt kein wirkliches Problem.
Vorhandene Zeitstempel stellen aber eine Verbesserung dar, die speziell bei einer möglichen Fehlersuche für die zeitliche Eingrenzung nützlich sein können.

Additional information

Aktuelle Logausgabe der hmlangw.log:

Client 192.168.113.96 connected to BidCos port!
Client 192.168.113.96 connected to keepalive port!
Keepalive client closed connection.
BidCos client closed connection.
Client 192.168.113.96 connected to BidCos port!
Client 192.168.113.96 connected to keepalive port!
Keepalive client closed connection.
BidCos client closed connection.
Client 192.168.113.96 connected to BidCos port!
Client 192.168.113.96 connected to keepalive port!

Und so stelle ich mir das vor:

2023-08-15 20:05:11 Client 192.168.113.96 connected to BidCos port!
2023-08-15 20:05:11 Client 192.168.113.96 connected to keepalive port!
2023-08-15 20:06:04 Keepalive client closed connection.
2023-08-15 20:06:04 BidCos client closed connection.
2023-08-15 20:06:04 Client 192.168.113.96 connected to BidCos port!
2023-08-15 20:06:05 Client 192.168.113.96 connected to keepalive port!
2023-08-15 20:06:56 Keepalive client closed connection.
2023-08-15 20:06:56 BidCos client closed connection.
2023-08-15 20:06:56 Client 192.168.113.96 connected to BidCos port!
2023-08-15 20:06:57 Client 192.168.113.96 connected to keepalive port!
@Baxxy13 Baxxy13 added the 💡 enhancement-ideas New feature or change request label Aug 16, 2023
jp112sdl added a commit to jp112sdl/RaspberryMatic that referenced this issue Aug 16, 2023
@jp112sdl
Copy link
Contributor

Ja, das wäre praktisch 😎

@jens-maus jens-maus linked a pull request Aug 17, 2023 that will close this issue
7 tasks
jens-maus added a commit that referenced this issue Aug 17, 2023
@jens-maus jens-maus added the 🌱 minor This is a issue/ticket which can be easily fixed label Aug 17, 2023
@jens-maus jens-maus added this to the next release milestone Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement-ideas New feature or change request 🌱 minor This is a issue/ticket which can be easily fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants