If you start multiple GravityNode's in single process, all lines logged to the static logging API are duplicated. You get 1 instance of each line per GravityNode, so if you have 4 nodes, you'll get the same line logged 4 times.
There is a workaround here, although it's not perfect. You can configure logging to be off for all but one of the nodes. The name of node that is configured for logging will be used in the log messages.
[general]
LocalLogLevel=none
ConsoleLogLevel=none
NoConfigServer=true
ServiceDirectoryURL="tcp://localhost:5555"
[SomeNode]
LocalLogLevel=debug
ConsoleLogLevel=debug
If you start multiple GravityNode's in single process, all lines logged to the static logging API are duplicated. You get 1 instance of each line per GravityNode, so if you have 4 nodes, you'll get the same line logged 4 times.
There is a workaround here, although it's not perfect. You can configure logging to be off for all but one of the nodes. The name of node that is configured for logging will be used in the log messages.