Title: GitHub · Where software is built
Open Graph Title: hap-java/HAP-Java
X Title: hap-java/HAP-Java
Description: Java implementation of the HomeKit Accessory Protocol - hap-java/HAP-Java
Open Graph Description: Java implementation of the HomeKit Accessory Protocol - hap-java/HAP-Java
X Description: Java implementation of the HomeKit Accessory Protocol - hap-java/HAP-Java
Opengraph URL: https://github.com/hap-java/HAP-Java
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Accessory names are logged incorrectly","articleBody":"`HomekitRoot` logs accessory names incorrectly. It logs the `CompletableFuture`, not the result of it. See first 3 log lines.\r\n\r\nExpected log:\r\n```java\r\n2021-11-27 19:53:24,561 TRACE i.g.h.s.i.HomekitRoot Added accessory Test Bridge\r\n2021-11-27 19:53:24,632 TRACE i.g.h.s.i.HomekitRoot Added accessory Lamp 1\r\n2021-11-27 19:53:24,633 TRACE i.g.h.s.i.HomekitRoot Added accessory Lamp 2\r\n2021-11-27 19:53:25,648 INFO i.n.h.l.LoggingHandler [id: 0x40d0eabf] REGISTERED\r\n2021-11-27 19:53:25,658 INFO i.n.h.l.LoggingHandler [id: 0x40d0eabf] BIND: shortcut/127.0.1.1:9123\r\n2021-11-27 19:53:25,661 TRACE i.g.h.s.i.h.i.NettyHomekitHttpService Bound homekit listener to /127.0.1.1:9123\r\n2021-11-27 19:53:25,668 TRACE i.g.h.s.i.j.JmdnsHomekitAdvertiser Advertising accessory Test Bridge\r\n2021-11-27 19:53:25,669 INFO i.g.h.s.i.j.JmdnsHomekitAdvertiser Registering _hap._tcp.local. on port 9123\r\n2021-11-27 19:53:25,670 TRACE i.g.h.s.i.j.JmdnsHomekitAdvertiser MAC:e6:f6:d4:94:22:55 Setup Id:GV17\r\n2021-11-27 19:53:25,701 INFO i.n.h.l.LoggingHandler [id: 0x40d0eabf, L:/127.0.1.1:9123] ACTIVE\r\n```\r\n\r\nActual log:\r\n```java\r\n2021-11-27 20:00:56,544 TRACE i.g.h.s.i.HomekitRoot Added accessory java.util.concurrent.CompletableFuture@1065d67[Completed normally]\r\n2021-11-27 20:00:56,616 TRACE i.g.h.s.i.HomekitRoot Added accessory java.util.concurrent.CompletableFuture@19df09a[Completed normally]\r\n2021-11-27 20:00:56,618 TRACE i.g.h.s.i.HomekitRoot Added accessory java.util.concurrent.CompletableFuture@1df23d3[Completed normally]\r\n2021-11-27 20:00:57,580 INFO i.n.h.l.LoggingHandler [id: 0x0fb4b526] REGISTERED\r\n2021-11-27 20:00:57,590 INFO i.n.h.l.LoggingHandler [id: 0x0fb4b526] BIND: shortcut/127.0.1.1:9123\r\n2021-11-27 20:00:57,594 TRACE i.g.h.s.i.h.i.NettyHomekitHttpService Bound homekit listener to /127.0.1.1:9123\r\n2021-11-27 20:00:57,600 TRACE i.g.h.s.i.j.JmdnsHomekitAdvertiser Advertising accessory Test Bridge\r\n2021-11-27 20:00:57,602 INFO i.g.h.s.i.j.JmdnsHomekitAdvertiser Registering _hap._tcp.local. on port 9123\r\n2021-11-27 20:00:57,603 TRACE i.g.h.s.i.j.JmdnsHomekitAdvertiser MAC:e6:f6:d4:94:22:55 Setup Id:6GSE\r\n2021-11-27 20:00:57,638 INFO i.n.h.l.LoggingHandler [id: 0x0fb4b526, L:/127.0.1.1:9123] ACTIVE\r\n```","author":{"url":"https://github.com/MariusVolkhart","@type":"Person","name":"MariusVolkhart"},"datePublished":"2021-11-27T20:01:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/150/HAP-Java/issues/150"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:3fab66fe-ea89-27f9-d9f1-939d8462d91b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E270:1894A4:27FF8F:35CE72:6973CC69 |
| html-safe-nonce | 6ba9d3571ac699a04a8dcafa625ca7ac030c08f2022dfb6fb5cb8cc211efd745 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjcwOjE4OTRBNDoyN0ZGOEY6MzVDRTcyOjY5NzNDQzY5IiwidmlzaXRvcl9pZCI6IjQxNDI0OTQ0OTg0NzIzMTYwMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b58e41a547585966de60f9822ac426cf2c479b9c75fdac16bbcec3837c237801 |
| hovercard-subject-tag | repository:31193475 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/hap-java/HAP-Java/issues/150 |
| twitter:image | https://opengraph.githubassets.com/46f043e6c2c6bad5e66ed115ddefb25036d223a8d68183e2e8050964043c74e6/hap-java/HAP-Java |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46f043e6c2c6bad5e66ed115ddefb25036d223a8d68183e2e8050964043c74e6/hap-java/HAP-Java |
| og:image:alt | Java implementation of the HomeKit Accessory Protocol - hap-java/HAP-Java |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cee21c7b1ab632710d33905bc72e5e9e520eab75c9a12e16c2ce9e8f6e031e06 |
| turbo-cache-control | no-cache |
| go-import | github.com/hap-java/HAP-Java git https://github.com/hap-java/HAP-Java.git |
| octolytics-dimension-user_id | 47992845 |
| octolytics-dimension-user_login | hap-java |
| octolytics-dimension-repository_id | 31193475 |
| octolytics-dimension-repository_nwo | hap-java/HAP-Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31193475 |
| octolytics-dimension-repository_network_root_nwo | hap-java/HAP-Java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f5f1d4f67b002a74550b90d5c1c0f0899544c742 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width