diff --git a/lib/server.js b/lib/server.js index 36e7cb7..c406ff7 100644 --- a/lib/server.js +++ b/lib/server.js @@ -176,7 +176,7 @@ Server.prototype._loadPlatforms = function() { throw new Error("Your config.json is requesting the platform '" + platformType + "' which has not been published by any installed plugins."); // Create a custom logging function that prepends the platform name for debugging - var platformLogger = Logger.withPrefix(accessoryName); + var platformLogger = Logger.withPrefix(platformName); platformLogger("Initializing %s platform...", platformType);