Working Docker Logging
This commit is contained in:
parent
f34e53fe1f
commit
8dd069f7b9
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ credentials/
|
|||||||
.idea/
|
.idea/
|
||||||
stream_sources/chyron.txt
|
stream_sources/chyron.txt
|
||||||
stream_sources/brb.txt
|
stream_sources/brb.txt
|
||||||
|
*.log
|
||||||
@ -3,7 +3,7 @@ services:
|
|||||||
standalone_command:
|
standalone_command:
|
||||||
image: standalone_command
|
image: standalone_command
|
||||||
volumes:
|
volumes:
|
||||||
- c:/praxis/logs
|
- "./:/Praxis/"
|
||||||
ports:
|
ports:
|
||||||
- 6009:6009
|
- 6009:6009
|
||||||
environment:
|
environment:
|
||||||
@ -11,7 +11,7 @@ services:
|
|||||||
standalone_channelrewards:
|
standalone_channelrewards:
|
||||||
image: standalone_channelrewards
|
image: standalone_channelrewards
|
||||||
volumes:
|
volumes:
|
||||||
- c:/praxis/logs
|
- "./:/Praxis/"
|
||||||
ports:
|
ports:
|
||||||
- 6969:6969
|
- 6969:6969
|
||||||
environment:
|
environment:
|
||||||
@ -19,7 +19,7 @@ services:
|
|||||||
standalone_lights:
|
standalone_lights:
|
||||||
image: standalone_lights
|
image: standalone_lights
|
||||||
volumes:
|
volumes:
|
||||||
- c:/praxis/logs
|
- "./:/Praxis/"
|
||||||
ports:
|
ports:
|
||||||
- 42069:42069
|
- 42069:42069
|
||||||
environment:
|
environment:
|
||||||
@ -27,18 +27,18 @@ services:
|
|||||||
standalone_twitchscript:
|
standalone_twitchscript:
|
||||||
image: standalone_twitchscript
|
image: standalone_twitchscript
|
||||||
volumes:
|
volumes:
|
||||||
- c:/praxis/logs
|
- "./:/Praxis/"
|
||||||
environment:
|
environment:
|
||||||
- ISDOCKER=cat
|
- ISDOCKER=cat
|
||||||
standalone_twitch_pubsub:
|
standalone_twitch_pubsub:
|
||||||
image: standalone_twitch_pubsub
|
image: standalone_twitch_pubsub
|
||||||
volumes:
|
volumes:
|
||||||
- c:/praxis/logs
|
- "./:/Praxis/"
|
||||||
environment:
|
environment:
|
||||||
- ISDOCKER=cat
|
- ISDOCKER=cat
|
||||||
standalone_discordscript:
|
standalone_discordscript:
|
||||||
image: standalone_discordscript
|
image: standalone_discordscript
|
||||||
volumes:
|
volumes:
|
||||||
- c:/praxis/logs
|
- "./:/Praxis/"
|
||||||
environment:
|
environment:
|
||||||
- ISDOCKER=cat
|
- ISDOCKER=cat
|
||||||
@ -4,6 +4,12 @@ from flask import request
|
|||||||
import commands.loader as command_loader
|
import commands.loader as command_loader
|
||||||
from commands.command_base import AbstractCommand
|
from commands.command_base import AbstractCommand
|
||||||
|
|
||||||
|
import os
|
||||||
|
import praxis_logging
|
||||||
|
praxis_logger_obj = praxis_logging.praxis_logger()
|
||||||
|
praxis_logger_obj.init(os.path.basename(__file__))
|
||||||
|
praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__))
|
||||||
|
|
||||||
api = flask.Flask(__name__)
|
api = flask.Flask(__name__)
|
||||||
# enable/disable this to get web pages of crashes returned
|
# enable/disable this to get web pages of crashes returned
|
||||||
api.config["DEBUG"] = True
|
api.config["DEBUG"] = True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user