[SOLVED] Create a separate logs file

  • Platform information:
    • Hardware: Core i3 / 12 GB RAM
    • OS: Windows 10
    • Java Runtime Environment: 8
    • openHAB version: 2
  • Issue of the topic: Dears, I’ve created several rules for different sensor, and i need to create a customized file other than the events.log, to send all logs of these sensors into the new customized file.
    Thank you

One thing you can do is add a custom log statement to your rule. Then use grep to pull them out. I believe these would go to the openHAB.log.

There are more methods that I don’t know how to explain to get actual separate files.

1 Like

The debugging section in the zwave binding docs lists one way to do this.

1 Like

Thank you for your help