By using the output properties, you can redirect the system output to a remote machine.
System property |
Default value |
Description |
|---|---|---|
mbs.output |
default |
Specifies the location to redirect framework output. This property has three possible values:
|
mbs.output.buffsize |
24576 |
Specifies the size in bytes of the output buffer. |
mbs.output.charscount |
80 |
Specifies the maximum number of symbols that a line in the standard output can have. |
mbs.output.remote.host |
127.0.0.1 (the IP address of the local machine) |
Defines the IP address of the remote machine to forward the framework output to. |
mbs.output.remote.port |
2000 |
Specifies the port of the remote machine to redirect the command output to. |
mbs.output.remote.autoFlush |
false |
If true and the mbs.output system property is equal to remote, that is, the standard output is sent to a remote location, the output stream will be automatically flushed after each write operation. |
mbs.output.remote.reconnectTimeout |
20000 |
Specifies the time-out in milliseconds for reconnection to the remote output destination. Has meaning only if mbs.output is equal to remote. |
mbs.output.remote.useLocalIn |
false |
If true, the framework will read both the remote input and the system input. This is useful in case problems appear in receiving the remote input. |
mbs.output.file |
console.txt |
Specifies the file to which the framework will redirect its output. This property is useful only if the mbs.output one is equal to file. |
mbs.output.file.autoflush |
true |
If true and mbs.output is equal to file, that is, the standard output is written to a file, the framework will automatically flush the stream after each write operation. |
mbs.output.server.port |
2000 |
Specifies the port on which the framework listens for requests when started in "server" output mode (mbs.output is equal to server). |
mbs.output.server.host |
– |
It specifies the network interface the framework will listen on for incoming requests from a remote console. The property has meaning if mbs.output is equal to server. If this property is not set, then the framework will listen on all interfaces it supports in the underlying OS. |