Jon Seager
8b029ac11c
Enhancement: support `LOG_TARGETS` environment variable ( #3075 )
2 months ago
shamoon
19c25713c4
Run pre-commit hooks over existing codebase
...
Co-Authored-By: Ben Phelps <ben@phelps.io>
7 months ago
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.
10 months ago
Rat
c8806a8775
lint fix
2 years ago
Rat
83a3a06386
Added configurable setting for log folder, falls back to config path if not set
2 years ago
Ben Phelps
b72dca0e2e
only create each logger once
2 years ago
Jason Fischer
42fe535df7
Patch console object to instead use winston for logging
...
- Allow setting labels via new createLogger method
- Make logger initialization more robust
2 years ago
Jason Fischer
5776544c20
Write homepage.log into config folder
...
This will make it easier for people to find their log file(s)
2 years ago
Jason Fischer
280bb5fc81
Add Winston for log handling
...
- write log data to 'homepage.log'
2 years ago