I just realized that the problem wasn't with logging but rather the annotations like "PostConstruct" and "Scheduled" are not working with Ignite Spring Data_2.0. I've created an issue here https://issues.apache.org/jira/browse/IGNITE-9187
On Fri, Aug 3, 2018 at 11:03 AM Lokesh Sharma <[email protected]> wrote: > Hi Denis > > Thanks for the reply. > > I tried setting up the logger as mentioned in the docs as you can see here > ( > https://github.com/lokeshh/ignite_with_spring_boot_2/blob/master/src/main/java/pl/piomin/services/ignite/IgniteRestApplication.java#L62) > but still that does nothing. In fact, Ignite logs are printed to the > console but the Spring application logs are not being printed after a few > seconds the application starts running. Also the messages using > "System.out.println" are also not printed. (See > https://github.com/lokeshh/ignite_with_spring_boot_2/blob/master/src/main/java/pl/piomin/services/ignite/Service/Test.java#L37) > If I downgrade the Spring Boot version to 1.5 and Ignite Spring Data > version to 2.6, then everything works fine. > > On Thu, Aug 2, 2018 at 8:42 PM Denis Mekhanikov <[email protected]> > wrote: > >> Lokesh, >> >> You should configure a logger according to the following documentation: >> https://apacheignite.readme.io/docs/logging >> Choose a suitable logger and refer to a corresponding section of the docs. >> >> Denis >> >> чт, 2 авг. 2018 г. в 9:59, Lokesh Sharma <[email protected]>: >> >>> (I'm sorry if I created this thread twice. Kindly delete the earlier >>> one.) >>> >>> I built the "ignite-spring-data_2.0" from source to run it with Spring >>> Boot 2.0.2-RELEASE. The app is running fine but nothing is being logged in >>> the console. Please help. >>> >>> Here's my code: https://github.com/lokeshh/ignite_with_spring_boot_2 >>> >>
