fix #541 Using $logWarn instead of $logError for onEmbeded* deprecation messages

Using $logWarn instead of $logError for onEmbeded* deprecation messages.