Permalink
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (34 sloc) 1.67 KB

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.

Table of Contents

Usage

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

This means the websocket server is now 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