You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Kelvin Qian (Jira)" <ji...@apache.org> on 2022/01/03 19:05:00 UTC
[jira] [Created] (JENA-2239) fuseki-server does not show logs upon startup
Kelvin Qian created JENA-2239:
---------------------------------
Summary: fuseki-server does not show logs upon startup
Key: JENA-2239
URL: https://issues.apache.org/jira/browse/JENA-2239
Project: Apache Jena
Issue Type: Bug
Components: Fuseki
Affects Versions: Jena 4.3.2
Environment: OS: macOS Big Sur version 11.6
Java: openjdk 11.0.10 2021-01-19
Fuseki was installed via Homebrew using the command
{code:java}
brew install fuseki{code}
I was able to have this issue be replicated my coworker's machine as well (which is also a Mac that is running Java 11+), indicating that this issue is likely not unique to this environment.
I tested this both without a log4j2.properties file in the current directory and with one (using the sample file [here|[https://howtodoinjava.com/log4j2/log4j2-properties-example/]);] in both cases, the error message appears.
Reporter: Kelvin Qian
When executing the `fuseki-server` command, e.g.:
{code:java}
fuseki-server --mem /ds{code}
the following message appears:
{code:java}
ERROR StatusLogger Reconfiguration failed: No configuration found for '42110406' at 'null' in 'null'{code}
The server itself still works as normal, but that fact is not obvious given the error message, and it is very annoying to not have the visual confirmation of logging. In contrast, version 4.2.0 did had logging output upon startup without any special configuration, i.e. _this_ is what _should_ output upon startup:
{code:java}
14:37:14 INFO Server :: jetty-10.0.6; built: 2021-06-29T15:28:56.259Z; git: 37e7731b4b142a882d73974ff3bec78d621bd674; jvm 17+0
14:37:14 INFO StandardDescriptorProcessor :: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
14:37:14 INFO DefaultSessionIdManager :: Session workerName=node0
14:37:14 INFO org_apache_jena_fuseki_Servlet :: Initializing Shiro environment
14:37:14 INFO EnvironmentLoader :: Starting Shiro environment initialization.
14:37:14 WARN IniRealm :: Users or Roles are already populated. Configured Ini instance will be ignored.
14:37:14 INFO EnvironmentLoader :: Shiro environment initialized in 159 ms.
14:37:15 INFO ContextHandler :: Started o.e.j.w.WebAppContext@1c3259fa{Apache Jena Fuseki Server,/,file:///usr/local/Cellar/fuseki/4.2.0/libexec/webapp/,AVAILABLE}
14:37:15 INFO AbstractConnector :: Started ServerConnector@4152d38d{HTTP/1.1, (http/1.1)}{0.0.0.0:3030}
14:37:15 INFO Server :: Started Server@2d8f2f3a{STARTING}[10.0.6,sto=0] @2266ms{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)