Hi Gabriele,
I confirm you that your Adapter code (if it is java inprocess) can share the loggging configuration with the server. After adding the "MyAdapterLogger" logger in the lighstreamer_log_conf.xml configuration file,
<logger name="MyAdapterLogger" level="INFO">
<appender-ref ref="LSDailyRolling" />
</logger>
these lines of code should work:
Logger logger = LoggerFactory.getLogger("MyAdapterLogger");
logger.info("Bye Bye.");
Alternatively, you can base your Adapter's code on log4j. Since the Lightstreamer Server uses logback for its own logging then the two logs cannot be merged unless some bridge is set up.
For instance you can use
log4j-over-slf4j.jar in place of log4j.jar. removing all "log_config" parameters from the Adapter configuration, and adding the adapter specific logger to the xml log configuration of Lighstreamer server.
This loggers will share the logging configuration with the Server through the log4j-over-slf4j bridge.
Hope that help,
Giuseppe