 {
     // Initialize logging
     Serial.begin(115200);
-    gs_pLoggingTask = new LoggingTask(Serial,
-                                      c_defaultStackSize,
-                                      PRIORITY_LOW);
+    gs_loggingTask = new LoggingTask(Serial,
+                                     c_defaultStackSize,
+                                     PRIORITY_LOW);
 
     LOG_INFO("MIDI-LED-Controller (MLC) (c) Daniel Schenk, 2017");
     LOG_INFO("initializing application...");

    // Initialize MIDI, baud rate is 31.25k
    Serial2.begin(31250);

    gs_pMidiInput = new ArduinoMidiInput(Serial2);
    gs_pMidiTask = new MidiTask(*gs_pMidiInput,
                                c_defaultStackSize,
                                PRIORITY_CRITICAL);

    // Initialize concert dependencies.
    gs_pRgbFunctionFactory = new RgbFunctionFactory;

    Processing::TNoteToLightMap noteToLightMap;
    uint8_t lightNumber = 0;

    LOG_INFO("still alive :-)");

    std::string json;
    gs_concert->convertToJson().dump(json);
    LOG_INFO(json.c_str());

    // Nothing to do, leave everything to the other tasks.
