View Issue Details

IDProjectCategoryView StatusLast Update
0005900libeufinsandboxpublic2019-10-03 17:38
ReporterMarcello StanisciAssigned ToFlorian Dold 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0005900: Less verbosity needed.
DescriptionLogs are (1) too verbose:
2019-09-19 01:47:50,045 ERROR [nioEventLoopGroup-4-2] libeufin-sandbox [Main.kt:48] Invalid request received

and (2) a gigantic amount of stack traces are printed (once) when launching the server:

Using SLF4J as the default logging framework
-Dio.netty.noUnsafe: false
Java version: 8
sun.misc.Unsafe.theUnsafe: available
sun.misc.Unsafe.copyMemory: available
java.nio.Buffer.address: available
direct buffer constructor: available
java.nio.Bits.unaligned: available, true
jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
java.nio.DirectByteBuffer.<init>(long, int): available
sun.misc.Unsafe: available
-Dio.netty.tmpdir: /tmp (java.io.tmpdir)
-Dio.netty.bitMode: 32 (sun.arch.data.model)
-Dio.netty.maxDirectMemory: 954466304 bytes
-Dio.netty.uninitializedArrayAllocationThreshold: -1
java.nio.ByteBuffer.cleaner(): available
-Dio.netty.noPreferDirect: false
-Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
-Dio.netty.native.deleteLibAfterLoading: true
-Dio.netty.native.tryPatchShadedId: true
Unable to load the library 'netty_transport_native_epoll_x86_32', trying other loading mechanism.
java.lang.UnsatisfiedLinkError: no netty_transport_native_epoll_x86_32 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:369)
    at java.security.AccessController.doPrivileged(Native Method)
    at io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:361)
    at io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:339)
    at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:136)
    at io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:186)
    at io.netty.channel.epoll.Native.<clinit>(Native.java:57)
    at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:38)
    at io.ktor.server.netty.EventLoopGroupProxy$Companion.create(NettyApplicationEngine.kt:186)
    at io.ktor.server.netty.NettyApplicationEngine.<init>(NettyApplicationEngine.kt:74)
    at io.ktor.server.netty.Netty.create(Embedded.kt:14)
    at io.ktor.server.netty.Netty.create(Embedded.kt:12)
    at io.ktor.server.engine.EmbeddedServerKt.embeddedServer(EmbeddedServer.kt:79)
    at io.ktor.server.engine.EmbeddedServerKt.embeddedServer(EmbeddedServer.kt:67)
    at io.ktor.server.engine.EmbeddedServerKt.embeddedServer(EmbeddedServer.kt:36)
    at io.ktor.server.engine.EmbeddedServerKt.embeddedServer$default(EmbeddedServer.kt:34)
..and MANY others !!

For 1, the line should at least drop the "[nioEventLoopGroup-4-2]" chunk, and for 2 there must be some filtering option to pass to the logger constructor.
TagsNo tags attached.

Relationships

related to 0005914 resolvedFlorian Dold configure logging 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-09-19 01:59 Marcello Stanisci New Issue
2019-09-30 13:54 Marcello Stanisci Relationship added related to 0005914
2019-10-03 17:38 Florian Dold Assigned To => Florian Dold
2019-10-03 17:38 Florian Dold Status new => assigned