Added winston logging

- use logger.xxx instead of console.xxx
- added express middleware logging (using jsonl)
- added LOG_PATH as environment variable
- more configs postponed for later iteration
This commit is contained in:
Matthias Platzer
2023-07-03 17:58:41 +02:00
parent 13ad030ea0
commit a9e269b52c
9 changed files with 150 additions and 14 deletions
+1
View File
@@ -4,4 +4,5 @@ PORT=3000
# DEBUG=true
# DATABASE_PATH=/your_database_path/.flowise
# APIKEY_PATH=/your_api_key_path/.flowise
# LOG_PATH=/your_api_key_path/logs
# EXECUTION_MODE=child or main