Yes, that is possible. See https://www.openhab.org/docs/administration/logging.html#log4j-configuration-and-logging-into-separate-files . It refers to further documentation.
An example can be found in this thread: Redirect binding logs to file
Yes, that is possible. See https://www.openhab.org/docs/administration/logging.html#log4j-configuration-and-logging-into-separate-files . It refers to further documentation.
An example can be found in this thread: Redirect binding logs to file