Skip to content

Logging Persistence

dakalff edited this page Nov 22, 2013 · 4 revisions

Documentation of the Logging Persistence Service

Introduction

The Logging Persistence Service allows to write item states to log files.

Features

This persistence service makes use of Logback as an underlying logging framework. This means that the syntax of the produced logfiles can be defined very flexibly.

Installation

For installation of this persistence package please follow the same steps as if you would install a binding.

Additionally, place a persistence file called logging.persist in the ${openhab_home}/configuration/persistence folder.

Configuration

This persistence service can be configured in the "Logging Persistence Service" section in openhab.cfg. In this place you define the syntax of your log files according to the Logback specification.

All item and event related configuration is done in the logging.persist file. The provided aliases define the name of the log file (without the .log suffix). All logfiles are written to ${openhab_home}/logs.

feature overview

Installation

Setup intro

Linux and OS X

Windows

FreeBSD


Configuration

Automation*

User Interfaces

Persistence


Community

(link to openHAB forum)

Development


Bindings


Application Integration

Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Binding configurations

Use case examples

Item definition examples

Sitemap definition examples

Collections of Rules on a single page

Single Rules

Scripts

Syntax highlighting for external editors


Release Notes

Clone this wiki locally
You can’t perform that action at this time.