dependabot[bot]
15e385bac6
fix(ignore): bump the minor-patch group with 3 updates ( #31011 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2026-02-09 20:57:32 +01:00
Nerivec
58d98c7263
fix: log dir tz format not working on some systems ( #30324 )
2025-12-23 17:45:04 +01:00
Nerivec
8549b37228
fix: Proper timezone in logs dir ( #30297 )
2025-12-21 20:44:05 +01:00
Koen Kanters
b39b8d478e
fix: Don't fail to start when removing old log directory fails ( #30216 )
2025-12-16 17:44:38 +01:00
Koen Kanters
74335fbb68
fix: Remove Moment.js dependency ( #28797 )
2025-10-06 20:06:41 +02:00
Nerivec
6fbb8b5ca2
fix: Migrate to Biome ( #27150 )
2025-04-18 20:34:47 +02:00
Nerivec
fc31e0af0a
fix(ignore): partial cleanup for biome move ( #27076 )
2025-04-12 14:02:47 +02:00
Filip
845e03e48a
fix: Allow configuring number of folders of old logs to keep ( #26398 )
...
Co-authored-by: Filip Vilicic <kusefin@hotmail.com >
2025-02-17 14:04:39 +01:00
Koen Kanters
2d5e7bf9ff
fix: Fix Error: write after end error ( #25737 )
2025-01-11 14:11:26 +01:00
Jens-Uwe Mager
26ef565c8a
feat: Add a settings option to log to console in json format ( #25649 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2025-01-08 19:22:26 +00:00
Nerivec
06f44533af
feat: Use Vitest for testing ( #25284 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-22 20:19:45 +01:00
Koen Kanters
7170215e96
fix: Fix log directories not being deleted ( #25282 )
2024-12-21 16:54:19 +01:00
Nerivec
758ab34747
fix(ignore): import using node: prefix for built-in ( #25248 )
2024-12-18 22:19:33 +01:00
Nerivec
1c75eef16d
fix(ignore): remove dep in favor of built-in ( #25250 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-17 21:31:21 +01:00
Koen Kanters
ca6493528d
fix(ignore): Update dependencies ( #24894 )
2024-11-24 22:01:37 +01:00
Tomer
c6ca472ca1
fix: Improve performance when logging is disabled ( #23893 )
...
* Improve log performance
* Bug fix
* Revert sample configuration
* Align package versions
* Revert dependecies version to allow testing
* Update package-lock.json
* Fix prettier issue
* Coverage to 100%
* Fix CR comments
* remove uneeded changes
* Make the same perf optimization to the MQTT messages
* Fix MQTT tests
* prettier fix
* Allow easy mocking of stub logger callTransports function to receive the actual message
* cleanup leftover
* Fix prettier issues
* Finalize logger mock structure and add few lambda log calls
* fix prettier issue
* Run prettier
* Revert "fix prettier issue"
This reverts commit b409d538e3 .
* Update zigbee.ts
Fix prettier issue
* Fix test issues
* Revert await removal
2024-09-12 20:33:05 +02:00
Koen Kanters
afd80449b3
fix(ignore): Migrate to eslint 9 ( #23800 )
...
* Eslint 9
* Automatic changes
* Manual changes
* Process feedback
* u
2024-09-08 14:26:18 +02:00
Nerivec
48d77e4b5e
fix: Enforce TS strict type checking ( #23601 )
...
* Enforce TS `strict` type checking.
* updates
* updates
* updates
* Updates
* Updates
* pretty
* u
* u
* u
* Updates
* updates
* Updates
* Updates
* `ReadonlyArray`
* scenesChanged
* objectID
* Improve coverage
* u
* u
* process feedback
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-09-07 11:40:50 +00:00
Nerivec
6cb62e53cf
fix: Fix syslog output ( #23269 )
2024-07-06 10:57:24 +02:00
Koen Kanters
30227a13ae
chore: Implement prettier ( #23153 )
...
* chore: Implement prettier
* Run prettier
* fix lint
* process feedback
* process feedback
2024-06-24 18:58:47 +00:00
ghoz
881037c371
feat: Allow hierarchical filtering of logger namespaces ( #22859 )
...
* POC: Allow hierarchical filtering of logger namespaces
matches the closes defined namespace log level:
advanced:
log_namespaced_levels:
'zh:zstack:unpi': info
would also apply to zh:zstack:unpi:write and zh:zstack:unpi:parse
To limit runtime penalty uses the namespacedLevels as a lazy cache
* Move namespace levels to separate cache
Avoid poluting the namespacedLevel in the config / UI
Add cache reset on config time log level change
* Actually use the cache
* Optimize/Cleanup
* Add some namespace hierarchy filter tests
* More coverage.
* Fix #22935
---------
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-06-04 20:17:35 +02:00
Nerivec
2eec6a4d26
fix: Add namespace-specific levels support to logger ( #22619 )
...
* Add namespaced levels for logger. Add NS to mqtt. Deprecate 'warn'.
* Improve setting validation.
* Fix setting through frontend
* Support reload + frontend improvements
* update description
* remove requiresRestart
* Fix tests.
* Fix namespaced logging at lower levels. Add better tests.
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-05-19 15:47:40 +02:00
Nerivec
d26ccaed65
fix: Fix logger crashing on restart ( #22565 )
2024-05-09 21:42:28 +02:00
Nerivec
eb49f523bf
fix: Add settings for finer control over debug log level ( #22426 )
...
* Add settings for finer control over debug log level.
* Updates from feedback.
2024-05-05 21:52:26 +02:00
Nerivec
3c1a4afcb7
fix: Convert logger into a class ( #22129 )
2024-04-07 20:52:55 +02:00
Koen Kanters
e7487189cf
fix(ignore): update dependencies ( #22007 )
...
* fix(ignore): update dependencies
* fix
---------
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
2024-04-06 13:02:02 +02:00
Koen Kanters
002050f35b
fix: Reduce MQTT publishing by excluding debug logging from bridge/logging ( #22066 )
...
* fix: Reduce MQTT publishing by excluding debug logging from `bridge/logging`
* fix tests
* fix
2024-04-06 12:44:43 +02:00
Nerivec
73566dff98
feat: Unified logging across z2m/zh/zhc ( #21984 )
...
* Unified logging across z2m/zh/zhc
* Updates
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-04-02 22:33:51 +02:00
Koen Kanters
43610bbff4
fix(ignore): Update dependencies ( #21740 )
...
* fix(ignore): update dependencies
* fix
* fix
---------
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
2024-03-10 19:08:48 +00:00
Aarni Koskela
8fe36d74ec
Typo fixes ( #17440 )
...
* Fix "Succesfully"
* Fix herdsman typo
* Fix various other small typos
2023-04-27 09:14:04 +02:00
github-actions[bot]
b3c886638a
Update dependencies ( #17354 )
...
* Update dependencies
* Fix tests
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-04-16 08:56:31 +02:00
Koen Kanters
68035a1256
Fix restart not working ( #12629 )
2022-05-29 08:15:47 +00:00
Andrew Berry
364a6dd2aa
Only colorize output if logging to a tty ( #11645 )
2022-03-02 20:07:22 +01:00
Joshua Spence
1a70b80282
Flush logger before exiting process ( #10905 )
...
* Wait for async logs
* Fix tests
* Better solution
Based on https://stackoverflow.com/a/59260151
* Fix lint/test coverage
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-01-26 15:57:51 +00:00
Koen Kanters
045ee573a0
Final TypeScript refactor ( #8859 )
...
* Update
* Updates
* More refactoringzzz
* Bindoo
* Loadz of typescripting
* Logga
* Updates
* Updates
* Updates
* Updates
* cleanup
* updates
* Fix coverage
* Fixes
* Updates
* Updates
2021-10-02 10:09:38 +02:00