Logging in Janusgraph 0.6.3
Mladen Marović
Hello, yesterday I tried to upgrade some Janusgraph instances from 0.5.3 to 0.6.2 first and then to 0.6.3. The 0.6.2 upgrade was successful, but after upgrading to 0.6.3, I noticed that the default SLF4J binding changed between these two versions. This is shown in the following log excerpts:
As a result, logback was used instead of log4j and by default the log level was set to DEBUG and redirected to STDOUT. From what I've seen in
However, in Janusgraph 0.6.3 there is no
everything works again. Alternatively, I could delete the Is this a bug or an intended change? I haven't seen any additional upgrade instructions for 0.6.3 commenting this. Best regards, Mladen Marović |
|
hadoopmarc@...
Hi Mladen,
I guess this behviour was introduced in https://github.com/JanusGraph/janusgraph/pull/3217. Note that there are many vulnerability issues with log4j: https://mvnrepository.com/artifact/log4j/log4j This it makes it unlikely that your suggestion would make it into a possible 0.6.4. The current 1.0.0.rc2 uses log4j2 and it is not shipped with slf4j-reload4j, but the janusgraph-server.sh script starts with log4j by default, anyway. The specific line you found is still present, though, which is weird. So you can provide it as feedback on 1.0.0.rc2, see https://lists.lfaidata.foundation/g/janusgraph-users/topic/announce_janusgraph_1_0_0/97263880 Best wishes, Marc |
|