{"action":"opened","issue":{"url":"https://api.github.com/repos/openhab/openhab-syno-spk/issues/123","repository_url":"https://api.github.com/repos/openhab/openhab-syno-spk","labels_url":"https://api.github.com/repos/openhab/openhab-syno-spk/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab-syno-spk/issues/123/comments","events_url":"https://api.github.com/repos/openhab/openhab-syno-spk/issues/123/events","html_url":"https://github.com/openhab/openhab-syno-spk/issues/123","id":285196039,"number":123,"title":"Logging not working with fresh untouched installation","user":{"login":"KaiLuettmann","id":33122946,"avatar_url":"https://avatars1.githubusercontent.com/u/33122946?v=4","gravatar_id":"","url":"https://api.github.com/users/KaiLuettmann","html_url":"https://github.com/KaiLuettmann","followers_url":"https://api.github.com/users/KaiLuettmann/followers","following_url":"https://api.github.com/users/KaiLuettmann/following{/other_user}","gists_url":"https://api.github.com/users/KaiLuettmann/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiLuettmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiLuettmann/subscriptions","organizations_url":"https://api.github.com/users/KaiLuettmann/orgs","repos_url":"https://api.github.com/users/KaiLuettmann/repos","events_url":"https://api.github.com/users/KaiLuettmann/events{/privacy}","received_events_url":"https://api.github.com/users/KaiLuettmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-30T10:37:14Z","updated_at":"2017-12-30T10:37:14Z","closed_at":null,"author_association":"NONE","body":"The logging ist not working after success installation in /SmartHome/openHAB/. The file /SmartHome/openHAB/userdata/logs/openhab.log has a size of 0 bytes.\r\n\r\nrepro:\r\n1. Install synology package to /SmartHome/openHAB/ and http port 9090\r\n2. configure UI via http://<YourDsIp>:9090\r\n3. navigate with File Station to /openHAB/userdata/logs/openhab.log --> size is 0 bytes\r\n\r\nIn my opinion a log entry should be written after module paper ui is startet\r\n\r\nThe content of the file '/SmartHome/openHAB/userdata/etc/org.ops4j.pax.logging.cfg':\r\n```{r, engine='bash', count_lines}\r\n# Common pattern layout for appenders\r\n#log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n\r\n\r\n# Root logger\r\nlog4j2.rootLogger.level = WARN\r\nlog4j2.rootLogger.appenderRefs = out, osgi\r\nlog4j2.rootLogger.appenderRef.out.ref = LOGFILE\r\nlog4j2.rootLogger.appenderRef.osgi.ref = OSGI\r\n\r\n# Karaf Shell logger\r\nlog4j2.logger.shell.name = org.apache.karaf.shell.support\r\nlog4j2.logger.shell.level = OFF\r\nlog4j2.logger.shell.appenderRefs = stdout\r\nlog4j2.logger.shell.appenderRef.stdout.ref = STDOUT\r\n\r\n# Security audit logger\r\nlog4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit\r\nlog4j2.logger.audit.level = INFO\r\nlog4j2.logger.audit.additivity = false\r\nlog4j2.logger.audit.appenderRefs = audit\r\nlog4j2.logger.audit.appenderRef.audit.ref = AUDIT\r\n\r\n# openHAB specific logger configuration\r\n\r\nlog4j2.logger.openhab.name = org.openhab\r\nlog4j2.logger.openhab.level = INFO\r\n\r\nlog4j2.logger.smarthome.name = org.eclipse.smarthome\r\nlog4j2.logger.smarthome.level = INFO\r\n\r\nlog4j2.logger.smarthomeItemStateEvent.name = smarthome.event.ItemStateEvent\r\nlog4j2.logger.smarthomeItemStateEvent.level = ERROR\r\nlog4j2.logger.smarthomeItemAddedEvent.name = smarthome.event.ItemAddedEvent\r\nlog4j2.logger.smarthomeItemAddedEvent.level = ERROR\r\nlog4j2.logger.smarthomeItemRemovedEvent.name = smarthome.event.ItemRemovedEvent\r\nlog4j2.logger.smarthomeItemRemovedEvent.level = ERROR\r\nlog4j2.logger.smarthomeThingStatusInfoEvent.name = smarthome.event.ThingStatusInfoEvent\r\nlog4j2.logger.smarthomeThingStatusInfoEvent.level = ERROR\r\nlog4j2.logger.smarthomeThingAddedEvent.name = smarthome.event.ThingAddedEvent\r\nlog4j2.logger.smarthomeThingAddedEvent.level = ERROR\r\nlog4j2.logger.smarthomeThingRemovedEvent.name = smarthome.event.ThingRemovedEvent\r\nlog4j2.logger.smarthomeThingRemovedEvent.level = ERROR\r\nlog4j2.logger.smarthomeInboxUpdatedEvent.name = smarthome.event.InboxUpdatedEvent\r\nlog4j2.logger.smarthomeInboxUpdatedEvent.level = ERROR\r\n\r\nlog4j2.logger.events.name = smarthome.event\r\nlog4j2.logger.events.level = INFO\r\nlog4j2.logger.events.additivity = false\r\nlog4j2.logger.events.appenderRefs = event\r\nlog4j2.logger.events.appenderRef.event.ref = EVENT\r\nlog4j2.logger.events.appenderRef.osgi.ref = OSGI\r\n\r\nlog4j2.logger.jupnp.name = org.jupnp\r\nlog4j2.logger.jupnp.level = ERROR\r\n\r\nlog4j2.logger.jmdns.name = javax.jmdns\r\nlog4j2.logger.jmdns.level = ERROR\r\n\r\n# This suppresses all Maven download issues from the log when doing feature installations\r\n# as we are logging errors ourselves in a nicer way anyhow.\r\nlog4j2.logger.paxurl.name = org.ops4j.pax.url.mvn.internal.AetherBasedResolver\r\nlog4j2.logger.paxurl.level = ERROR\r\n\r\n# Filters known issues of pax-web (issue link to be added here).\r\n# Can be removed once the issues are resolved in an upcoming version.\r\nlog4j2.logger.paxweb.name = org.ops4j.pax.web.pax-web-runtime\r\nlog4j2.logger.paxweb.level = OFF\r\n\r\n# Filters known issues of lsp4j, see\r\n# https://github.com/eclipse/smarthome/issues/4639\r\n# https://github.com/eclipse/smarthome/issues/4629\r\n# https://github.com/eclipse/smarthome/issues/4643\r\n# Can be removed once the issues are resolved in an upcoming version.\r\nlog4j2.logger.lsp4j.name = org.eclipse.lsp4j\r\nlog4j2.logger.lsp4j.level = OFF\r\n\r\n# Filters known issues of KarServiceImpl, see\r\n# https://github.com/openhab/openhab-distro/issues/519#issuecomment-351944506\r\n# Can be removed once the issues are resolved in an upcoming version.\r\nlog4j2.logger.karservice.name = org.apache.karaf.kar.internal.KarServiceImpl\r\nlog4j2.logger.karservice.level = ERROR\r\n\r\n\r\n# Appenders configuration\r\n\r\n# Console appender not used by default (see log4j2.rootLogger.appenderRefs)\r\nlog4j2.appender.console.type = Console\r\nlog4j2.appender.console.name = STDOUT\r\nlog4j2.appender.console.layout.type = PatternLayout\r\nlog4j2.appender.console.layout.pattern = %d{HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n\r\n\r\n# Rolling file appender\r\nlog4j2.appender.out.type = RollingRandomAccessFile\r\nlog4j2.appender.out.name = LOGFILE\r\nlog4j2.appender.out.fileName = ${openhab.logdir}/openhab.log\r\nlog4j2.appender.out.filePattern = ${openhab.logdir}/openhab.log.%i\r\nlog4j2.appender.out.immediateFlush = true\r\nlog4j2.appender.out.append = true\r\nlog4j2.appender.out.layout.type = PatternLayout\r\nlog4j2.appender.out.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n\r\nlog4j2.appender.out.policies.type = Policies\r\nlog4j2.appender.out.policies.size.type = SizeBasedTriggeringPolicy\r\nlog4j2.appender.out.policies.size.size = 16MB\r\n\r\n# Event log appender\r\nlog4j2.appender.event.type = RollingRandomAccessFile\r\nlog4j2.appender.event.name = EVENT\r\nlog4j2.appender.event.fileName = ${openhab.logdir}/events.log\r\nlog4j2.appender.event.filePattern = ${openhab.logdir}/events.log.%i\r\nlog4j2.appender.event.immediateFlush = true\r\nlog4j2.appender.event.append = true\r\nlog4j2.appender.event.layout.type = PatternLayout\r\nlog4j2.appender.event.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%-26.26c] - %m%n\r\nlog4j2.appender.event.policies.type = Policies\r\nlog4j2.appender.event.policies.size.type = SizeBasedTriggeringPolicy\r\nlog4j2.appender.event.policies.size.size = 16MB\r\n\r\n# Audit file appender\r\nlog4j2.appender.audit.type = RollingRandomAccessFile\r\nlog4j2.appender.audit.name = AUDIT\r\nlog4j2.appender.audit.fileName = ${openhab.logdir}/audit.log\r\nlog4j2.appender.audit.filePattern = ${openhab.logdir}/audit.log.%i\r\nlog4j2.appender.audit.append = true\r\nlog4j2.appender.audit.layout.type = PatternLayout\r\nlog4j2.appender.audit.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n\r\nlog4j2.appender.audit.policies.type = Policies\r\nlog4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy\r\nlog4j2.appender.audit.policies.size.size = 8MB\r\n\r\n# OSGi appender\r\nlog4j2.appender.osgi.type = PaxOsgi\r\nlog4j2.appender.osgi.name = OSGI\r\nlog4j2.appender.osgi.filter = *\r\n```\r\n\r\n"}}
{"actor":{"display_login":"KaiLuettmann"}}