Implement indexing into Apache Druid #1

Closed
m wants to merge 263 commits from druid into master
3 changed files with 6 additions and 0 deletions
Showing only changes of commit b67eee42c1 - Show all commits

View File

@ -17,6 +17,7 @@
"ConnectOnCreate": false,
"AutoReg": false,
"Debug": false,
"Trace", false,
"Relay": {
"Host": "127.0.0.1",
"Port": "201x",

View File

@ -17,6 +17,8 @@ from utils.cleanup import handler
signal(SIGINT, handler) # Handle Ctrl-C and run the cleanup routine
if "--debug" in sys.argv: # yes really
main.config["Debug"] = True
if "--trace" in sys.argv:
main.config["Trace"] = True
from utils.logging.log import *
from utils.loaders.command_loader import loadCommands
from core.server import Server, ServerFactory

View File

@ -5,3 +5,6 @@ def debug(*data):
if main.config["Debug"]:
print("[DEBUG]", *data)
def trace(*data):
if main.config["Trace"]:
print("[TRACE]", *data)