mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2026-01-06 17:03:58 +00:00
chore: improve logging
This commit is contained in:
@@ -11,9 +11,9 @@ services:
|
||||
volumes:
|
||||
- ./functions:/app/functions
|
||||
- ./functions/data/emulator/:/seed
|
||||
# TODO: make logs easily viewable on the host machine.
|
||||
# - ./logs/ui-debug.log:/app/ui-debug.log
|
||||
# - ./logs/firestore-debug.log:/app/firestore-debug.log
|
||||
# - ./logs/database-debug.log:/app/database-debug.log
|
||||
# - ./logs/pubsub-debug.log:/app/pubsub-debug.log
|
||||
# - ./logs/firebase-debug.log:/app/firebase-debug.log
|
||||
|
||||
- ./functions/logs/database-debug.log:/app/database-debug.log
|
||||
- ./functions/logs/firebase-debug.log:/app/firebase-debug.log
|
||||
- ./functions/logs/firestore-debug.log:/app/firestore-debug.log
|
||||
- ./functions/logs/pubsub-debug.log:/app/pubsub-debug.log
|
||||
- ./functions/logs/ui-debug.log:/app/ui-debug.log
|
||||
|
||||
7
functions/logs/README.md
Normal file
7
functions/logs/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
The files in this folder must exist in order to be able to mount with the file inside of Docker containers.
|
||||
|
||||
https://stackoverflow.com/a/64821508
|
||||
|
||||
These files should be initally check into Git but ignored for changes.
|
||||
|
||||
https://stackoverflow.com/a/17410119
|
||||
0
functions/logs/database-debug.log
Normal file
0
functions/logs/database-debug.log
Normal file
0
functions/logs/firebase-debug.log
Normal file
0
functions/logs/firebase-debug.log
Normal file
0
functions/logs/firestore-debug.log
Normal file
0
functions/logs/firestore-debug.log
Normal file
0
functions/logs/pubsub-debug.log
Normal file
0
functions/logs/pubsub-debug.log
Normal file
0
functions/logs/ui-debug.log
Normal file
0
functions/logs/ui-debug.log
Normal file
Reference in New Issue
Block a user