I have updated openhab to version 2.3, but I have the following problems:
the event.log and openhab.log files are not updated. I saw that 'a problem given by the update and read the various procedures for openhabian, but are not the same as those for windows, some help?
The second problem is the google calendar binding which does not seem to read the scheduled events anymore.
thanks in advance to everyone for the help
David
Have you checked if openHAB is running?
You can visit http://openhab.server.ip:8080
Or issues systemctl status openhab2.service from a command line on openHAB server.
sihui
(SiHui)
September 22, 2018, 6:45pm
3
Logging has changed significantly:
Here is my setup for the new log4j2 logging package that is included in the latest upgrade of openHAB2 snapshot (2.2.0 Build >#1009)
All changes happen in the $OPENHAB_USERDATA/etc/org.ops4j.pax.logging.cfg file
(full path in Linux with apt installation: /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg)
Notes
My OH2 installation is very stable and I don’t add many new stuff so I want my logs to show me only Warnings+.
I am running the following addons (in addons.cfg):binding = knx1, zwave, m…
Probably you did not overwrite the old files during update.
DL the file from github and replace your local file:
# Common pattern layout for appenders
#log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
# Root logger
log4j2.rootLogger.level = WARN
log4j2.rootLogger.appenderRefs = out, osgi
log4j2.rootLogger.appenderRef.out.ref = LOGFILE
log4j2.rootLogger.appenderRef.osgi.ref = OSGI
# Karaf Shell logger
log4j2.logger.shell.name = org.apache.karaf.shell.support
log4j2.logger.shell.level = OFF
log4j2.logger.shell.appenderRefs = stdout
log4j2.logger.shell.appenderRef.stdout.ref = STDOUT
# Security audit logger
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRefs = audit
This file has been truncated. show original
great!
now it’ work!!!
thx
Davide
not having overwritten the files during the upgrade, can I create other problems that I do not see now?