To see what is logged I’m doing tail -f /var/log/openhab2/openhab.log in an ssh console to my server
These days in the logging I have a lots of INFO that makes it harder to see the error and warnings.
I would like to tell karaf to log only warning and error.
Although in the config file it says that the default is warning, that is not the case (I guess because logginglevel=1 was in comment.
(config file I used was /usr/share/openhab2/runtime/karaf/etc/org.apache.karaf.shell.cfg )
it seems that the changes I make are not picked up:
I try to set sshHost = 0.0.0.0
so I can log to the karaf console from my mac where I ssh already into my raspberry PI
#
# Specify the client log level (default is WARN)
# 0: ERROR
# 1: WARN
# 2: INFO
# 3: DEBUG
# 4: TRACE
#
logLevel=1
is the other change.
Neither seem to be picked up, as I can log into karaf
not with ssh karaf@ip adres of Raspberry PI
and not with ssh openhab@ip adres of Raspberry PI
in both cases I get something like
Password authentication
Password:
Password authentication
Password:
Password authentication
Password:
openhab@192.168.1.121’s password:
Permission denied, please try again.
yes 3 demands for a password and then another demand for a password written in a different way
As I never used karaf, what I’m doing was based on http://docs.openhab.org/administration/console.html
I did restart openhab after making these changes.
when I added the local IP adres (of the machine I’m working on, I did see a message as if that machine was not reachable in the log file), hence I now used 0.0.0.0
Any idea’s?