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

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