Important

You are browsing documentation for version 5.0 of OroCommerce, supported until January 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

OroSyncBundle 

OroSyncBundle uses GosWebSocketBundle to enable real-time websocket notifications between an Oro application server and users’ browsers.

Out-of-the-box, OroSyncBundle triggers flash notifications about the outdated content if several users try to edit the same entity record simultaneously. It also sends flash notifications to all application site visitors once a developer turns on the system maintenance mode by a console’s CLI tool.

You should be able to run this from the root of your symfony installation:

php bin/console gos:websocket:server

If everything is successful, you will see no output in prod mode, and something similar to the following in dev mode:

INFO      [websocket] Starting web socket
INFO      [websocket] Launching Ratchet on 127.0.0.1:8080 PID: 4675

The websocket server should now be up and running.

Logging Levels 

Logging levels are different in dev and prod modes by default.

Prod mode:

  • Normal: WARNING and higher

  • Verbose (-v): NOTICE and higher

  • Very verbose (-vv): INFO and higher

  • Debug (-vvv): DEBUG and higher

Dev mode:

  • Normal: INFO and higher

  • Verbose (-v): DEBUG and higher