Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTL-1321 Add compact process to intellij plugin #1691

Merged
merged 3 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions docs/03_server/12_tooling/02_intellij-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -222,21 +222,31 @@ Once the process has started, the log file will be attached to the process:

#### Filtering processes

To start only selected processes when clicking on **Start All Genesis Services**, you can enable the processes filter, by unticking **Enable All Processes** in the settings:
By default, **Start All Genesis Services** starts all the Genesis processes when you click on it. But you can change that so that only selected processes are started.

To do this:
1. Open the Settings window.
2. Untick **Enable All Processes**:

![Enable All Processes](/img/intellij-plugin/enable-all-processes.png)

Once this setting is unticked, you can filter which processes to start:
3. You can now click on the ticks to select which processes you want to be started and which ones you don't. Ticked processes will be started when you click on **Start All Genesis Services**; unticked processes will not:

![Filter Processes](/img/intellij-plugin/filtered-processes.png)

When a process is unticked, it will no longer be started via any **start server** command, either from the terminal or the **start server** button. However, processes that are not ticked, can still be started manually.
Unticked processes will not be started by any **start server** command, either from the terminal or the **start server** button. You can still start these processes manually.

Note that **Start All Procesess** does not attempt to start any processes that are already running, so you can safely re-enable processes and click on **start server** again.

#### Compact processes

To re-enable the process, simply check the box and click on **start server** again.
You can combine compatible services (such as DataServer, RequestServer, Notify, EventHandler, Streamer) into a single process, called GENESIS_COMPACT_PROCESS. This reduces the number of services running.

Note that **Start All Process** does not attempt to start any processes that are already running, so you can safely re-enable processes and click on **start server** again.
To do this, select the option **Enable compact processes** from the plugin:

#### Filtering the Process Log files
![Compact Processes](/img/intellij-plugin/compact-processes.png)

#### Filtering the Process log files

By default, IntelliJ filters the log file and shows only log entries of level WARN or ERROR. To change that, hover your mouse in the top right of the log file to display the following menu:

Expand All @@ -251,7 +261,8 @@ The default log level for a process is defined by the `loggingLevel` tag in your
#### Starting processes

Processes can be started using the **Start All Genesis Services** button mentioned [above](#starting-the-front-and-back-ends).
You can also be started from the **mon** window.

You can also start them from the **mon** window.

![Log Filter](/img/intellij-plugin/mon-router-row.png)

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading