Jon Seager
8b029ac11c
Enhancement: support LOG_TARGETS
environment variable ( #3075 )
2024-03-08 19:13:36 -08:00
shamoon
19c25713c4
Run pre-commit hooks over existing codebase
...
Co-Authored-By: Ben Phelps <ben@phelps.io>
2023-10-18 09:49:33 -07:00
Jon Seager
ca396ce96b
Override config directory with env var.
...
Until this change, the config directory was assumed
to be located at '/config'. This patch retains that
default behaviour, but enables users/devs to override
that behaviour by setting the HOMEPAGE_CONFIG_DIR
variable.
2023-07-10 15:48:51 +01:00
Rat
c8806a8775
lint fix
2022-11-19 12:10:29 -08:00
Rat
83a3a06386
Added configurable setting for log folder, falls back to config path if not set
2022-11-18 15:32:59 -08:00
Ben Phelps
b72dca0e2e
only create each logger once
2022-09-26 14:42:13 +03:00
Jason Fischer
42fe535df7
Patch console object to instead use winston for logging
...
- Allow setting labels via new createLogger method
- Make logger initialization more robust
2022-09-21 23:37:17 -07:00
Jason Fischer
5776544c20
Write homepage.log into config folder
...
This will make it easier for people to find their log file(s)
2022-09-21 08:32:37 -07:00
Jason Fischer
280bb5fc81
Add Winston for log handling
...
- write log data to 'homepage.log'
2022-09-20 20:16:04 -07:00