Yes, it is implemented for all Ignite loggers. 
However, some loggers (Slf4jLogger) does not have logging file configuration, 
so they show less details.

Thank you,
Alexey

From: Nikolai Tikhonov
Sent: Friday, December 1, 2017 5:21 PM
To: dev@ignite.apache.org
Subject: Re: Ignite Logger & logging file config output

Alexey,

Looks cool and helpful! I understand correctly that improvement is
implemented for all type of loggers which Ignite supports?

On Fri, Dec 1, 2017 at 5:18 PM, Alexey Popov <tank2.a...@gmail.com> wrote:

> Hi Denis,
>
> https://issues.apache.org/jira/browse/IGNITE-6971
>
> Sample quite=true output:
>
> [17:16:41]    __________  ________________
> [17:16:41]   /  _/ ___/ |/ /  _/_  __/ __/
> [17:16:41]  _/ // (7 7    // /  / / / _/
> [17:16:41] /___/\___/_/|_/___/ /_/ /___/
> [17:16:41]
> [17:16:41] ver. 2.4.0-SNAPSHOT#19700101-sha1:DEV
> [17:16:41] 2017 Copyright(C) Apache Software Foundation
> [17:16:41]
> [17:16:41] Ignite documentation: http://ignite.apache.org
> [17:16:41]
> [17:16:41] Quiet mode.
> [17:16:41]   ^-- Logging to file 'C:\incubator-ignite\work\log\
> ignite-7317b109.log'
> [17:16:41]   ^-- Logging by 'Log4JLogger [quiet=true,
> config=/C:/incubator-ignite/config/ignite-log4j.xml]'
> [17:16:41]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
> or "-v" to ignite.{sh|bat}
> [17:16:41]
> [17:16:41] OS: Windows 10 10.0 amd64
> [17:16:41] VM information: Java(TM) SE Runtime Environment 1.8.0_141-b15
> Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.141-b15
> [17:16:41] Initial heap size is 254MB (should be no less than 512MB, use
> -Xms512m -Xmx512m).
> [17:16:41] Configured plugins:
> [17:16:41]   ^-- None
> [17:16:41]
>
> Sample verbose output:
>
> >>>    __________  ________________
> >>>   /  _/ ___/ |/ /  _/_  __/ __/
> >>>  _/ // (7 7    // /  / / / _/
> >>> /___/\___/_/|_/___/ /_/ /___/
> >>>
> >>> ver. 2.4.0-SNAPSHOT#19700101-sha1:DEV
> >>> 2017 Copyright(C) Apache Software Foundation
> >>>
> >>> Ignite documentation: http://ignite.apache.org
>
> 2017-12-01T17:06:49,403][INFO ][main][IgniteKernal%verboseLogGrid] Config
> URL: n/a
> 2017-12-01T17:06:49,403][INFO ][main][IgniteKernal%verboseLogGrid] Daemon
> mode: off
> 2017-12-01T17:06:49,403][INFO ][main][IgniteKernal%verboseLogGrid] OS:
> Windows 10 10.0 amd64
> 2017-12-01T17:06:49,404][INFO ][main][IgniteKernal%verboseLogGrid] OS
> user: gridgain
> 2017-12-01T17:06:49,408][INFO ][main][IgniteKernal%verboseLogGrid] PID:
> 5984
> 2017-12-01T17:06:49,408][INFO ][main][IgniteKernal%verboseLogGrid]
> Language runtime: Java Platform API Specification ver. 1.8
> 2017-12-01T17:06:49,408][INFO ][main][IgniteKernal%verboseLogGrid] VM
> information: Java(TM) SE Runtime Environment 1.8.0_141-b15 Oracle
> Corporation Java HotSpot(TM) 64-Bit Server VM 25.141-b15
> 2017-12-01T17:06:49,409][INFO ][main][IgniteKernal%verboseLogGrid] VM
> total memory: 3.5GB
> 2017-12-01T17:06:49,409][INFO ][main][IgniteKernal%verboseLogGrid] Remote
> Management [restart: off, REST: off, JMX (remote: off)]
> 2017-12-01T17:06:49,416][INFO ][main][IgniteKernal%verboseLogGrid]
> Logger: Log4J2Logger [quiet=false, config=C:\incubator-ignite\
> modules\core\src\test\config\log4j2-verbose-test.xml]
> 2017-12-01T17:06:49,417][INFO ][main][IgniteKernal%verboseLogGrid]
> IGNITE_HOME=C:\incubator-ignite
> 2017-12-01T17:06:49,417][INFO ][main][IgniteKernal%verboseLogGrid] VM
> arguments: [-ea, -Didea.test.cyclic.buffer.size=1048576,
> -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition
> 2017.2.5\lib\idea_rt.jar=64660:C:\Program Files\JetBrains\IntelliJ IDEA
> Community Edition 2017.2.5\bin, -Dfile.encoding=UTF-8]
> 2017-12-01T17:06:49,417][INFO ][main][IgniteKernal%verboseLogGrid] System
> cache's DataRegion size is configured to 40 MB. Use
> DataStorageConfiguration.systemCacheMemorySize property to change the
> setting.
> 2017-12-01T17:06:49,427][INFO ][main][IgniteKernal%verboseLogGrid]
> Configured caches [in 'sysMemPlc' dataRegion: ['ignite-sys-cache']]
> 2017-12-01T17:06:49,430][WARN ][pub-#19%verboseLogGrid%][GridDiagnostic]
> This operating system has been tested less rigorously: Windows 10 10.0
> amd64. Our team will appreciate the feedback if you experience any problems
> running ignite in this environment.
> 2017-12-01T17:06:49,436][INFO ][main][IgniteKernal%verboseLogGrid] 3-rd
> party licenses can be found at: C:\incubator-ignite\libs\licenses
>
> Thank you,
> Alexey
>
> From: Denis Magda
> Sent: Tuesday, November 21, 2017 2:01 AM
> To: dev@ignite.apache.org
> Subject: Re: Ignite Logger & logging file config output
>
> Good point. Could you create a ticket and probably contribute this
> improvement?
>
> —
> Denis
>
> > On Nov 20, 2017, at 3:12 AM, Alexey Popov <tank2.a...@gmail.com> wrote:
> >
> > Hi Igniters,
> >
> > Could you please advise why Ignite does not indicate
> > 1) the logger type it uses
> > 2) the logger configuration file (name) it applies
> > during startup?
> >
> > Can we add such output to IgniteLogger implementations?
> >
> > Thanks,
> > Alexey
> >
> >
> >
> > --
> > Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>
>
>

Reply via email to