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

Logging shows getter/setter instead of true value #494

Open
mStirner opened this issue Sep 13, 2024 · 0 comments
Open

Logging shows getter/setter instead of true value #494

mStirner opened this issue Sep 13, 2024 · 0 comments

Comments

@mStirner
Copy link
Member

In my local installation the logging/journalctl shows "getter/setter" for properties instead of it real value.
Change the logger to print the real values in production mode.

Sep 13 22:01:59 open-haus.lan node[99522]: [2024.09.13 - 22:01.59.451][debug][http] 192.168.2.158 - [PUT] /api/devices
Sep 13 22:01:59 open-haus.lan node[99522]: [2024.09.13 - 22:01.59.500][debug][plugins/32ae791a-a073-4c2c-a2e9-1a9ca0d572ed] Device found l {
Sep 13 22:01:59 open-haus.lan node[99522]:   _id: '66e49a372afc61a598cca3f7',
Sep 13 22:01:59 open-haus.lan node[99522]:   name: 'Sideboard',
Sep 13 22:01:59 open-haus.lan node[99522]:   interfaces: [
Sep 13 22:01:59 open-haus.lan node[99522]:     {
Sep 13 22:01:59 open-haus.lan node[99522]:       type: 'ETHERNET',
Sep 13 22:01:59 open-haus.lan node[99522]:       description: 'WebSocket API',
Sep 13 22:01:59 open-haus.lan node[99522]:       settings: [Object],
Sep 13 22:01:59 open-haus.lan node[99522]:       adapter: [Array],
Sep 13 22:01:59 open-haus.lan node[99522]:       _id: '66e49a372afc61a598cca3f8'
Sep 13 22:01:59 open-haus.lan node[99522]:     }
Sep 13 22:01:59 open-haus.lan node[99522]:   ],
Sep 13 22:01:59 open-haus.lan node[99522]:   labels: [Getter/Setter],
Sep 13 22:01:59 open-haus.lan node[99522]:   timestamps: { created: 1726257719454, updated: null },
Sep 13 22:01:59 open-haus.lan node[99522]:   room: null,
Sep 13 22:01:59 open-haus.lan node[99522]:   enabled: true,
Sep 13 22:01:59 open-haus.lan node[99522]:   icon: null
Sep 13 22:01:59 open-haus.lan node[99522]: }
Sep 13 22:01:59 open-haus.lan node[99522]: [2024.09.13 - 22:01.59.505][info][plugins/79ff8232-3084-4bbc-8e9c-42bb03203fb0] Shelly device Sideboard added
Sep 13 22:01:59 open-haus.lan node[99522]: [2024.09.13 - 22:01.59.621][debug][http] 127.0.0.1 - [GET] /api/devices/66e49a372afc61a598cca3f7/interfaces/66e49a372afc61a598cca3f8
Sep 13 22:01:59 open-haus.lan node[99522]: [2024.09.13 - 22:01.59.630][debug][plugins/32ae791a-a073-4c2c-a2e9-1a9ca0d572ed] Connector attached socket
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

No branches or pull requests

1 participant