ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Popov <tank2.a...@gmail.com>
Subject Re: Logging using Log4Net
Date Tue, 13 Feb 2018 14:40:36 GMT

Hm, actually, you've got several log4net misconfigurations in your solution.
Everything was fine with Ignite config itself ).
Please see updated minified solution attached. Just "build a solution" and
it will restore all required packages.

The following log4net misconfigurations fixed:

1. Your app.config file section <log4net> was ignored, an explicit call
XmlConfigurator.Configure() is required for log4net.

2. you should always have <root> logger in <log4net> section.

3. <logger> name attribute could not be abstract. It should have some
package name.

4. %property{LogName} from xml should be initialized in global context
before usage. Please see call 
log4net.GlobalContext.Properties["LogName"] =

Please find more info about log4net at [1]

Thank you,

[1] https://logging.apache.org/log4net/release/manual/configuration.html

Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message