You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**RULES_FILE**: This can be used to specify the path to the file containing the tunnel rules. If this variable is not set, the default file path is set to `rules.txt`.
158
+
157
159
-**LOG_ENABLED**: This acts as a master switch for the logger. If it's set to `1`, logging is enabled. A value of `0` disables logging. Default value if not set is `1`.
158
160
159
161
-**LOG_FILE**: This determines the output destination of the log messages. If set, log messages will be written to the specified file. If not set, logs will be printed to stdout.
160
162
161
-
-**LOG_LEVEL**: This determines the severity level of the messages to be logged. Messages with a severity level less than this will not be logged. For example, if `LOG_LEVEL` is set to `INFO`, then `DEBUG` messages won't be logged. Default value if not set is `DEBUG`.
163
+
-**LOG_LEVEL**: This determines the severity level of the messages to be logged. Messages with a severity level less than this will not be logged. For example, if `LOG_LEVEL` is set to `INFO`, then `DEBUG` messages won't be logged. Default value if not set is `DEBUG`. You can find all of the [supported log levels here](#supported-log-levels).
162
164
163
165
### Tunnel Rules
164
166
165
-
SSH Tunnel Swarm reads the tunnel rules from a file named `rules.txt` which contains the rules for each host. Each entry should include the username, hostname, port, and the tunnels to establish. For instance:
167
+
SSH Tunnel Swarm reads the tunnel rules for each host from a file specified by the `RULES_FILE` environment variable. Each entry within the file should include the username, hostname, port, and the tunnels to establish. For instance:
166
168
167
169
```
168
170
aparker@host789:34567
@@ -215,7 +217,13 @@ Now guess what happens when you try to connect to localhost:6366.
0 commit comments