Disable logging of sphere libs. Add some console.logs to understand runtime problems on elastic.io.
Add logger class.