Commit 5b0de00a authored by Michał Woźniak's avatar Michał Woźniak

WIP: bugfix (python namespaces are what they are)

parent e58f3933
......@@ -102,14 +102,14 @@ class Configuration(import_logs.Configuration):
config = Configuration()
# this depends on the Configuration()
matomo = Matomo()
matomo = import_logs.Matomo()
# this depends on Matomo()
config.init_token_auth()
# the rest of init
resolver = config.get_resolver()
parser = Parser()
parser = import_logs.Parser()
# files to process
logfiles_busy = [] # this is where newly discovered logfiles are added
......@@ -181,13 +181,13 @@ while True:
watches = {}
# we want stats
stats = Statistics()
stats = import_logs.Statistics()
stats.set_time_start()
if config.options.show_progress:
stats.start_monitor()
# launch recorders
recorders = Recorder.launch(config.options.recorders)
recorders = import_logs.Recorder.launch(config.options.recorders)
print(" +-- ingesting logfiles...")
try:
......@@ -196,7 +196,7 @@ while True:
# processing the logfile
parser.parse(f)
Recorder.wait_empty()
import_logs.Recorder.wait_empty()
# once the file is processed, we need to move it to the location specified by
# applying the prefix_ingested and suffix_ingested, as configured
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment