Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » kura log files
kura log files [message #1749056] Thu, 01 December 2016 14:06 Go to next message
Sabrina anirbas is currently offline Sabrina anirbasFriend
Messages: 45
Registered: April 2015
Member
Hello,

I am confused about the two kura log files:
* kura.log
* kura-console.log

If I understand well, kura.log is used to manage the different logs level: debug, info, warn etc.
and kura-console to display the standard output.

Is this right? or there are other reasons of choosing one over the other.

Many thanks!
Re: kura log files [message #1749063 is a reply to message #1749056] Thu, 01 December 2016 14:22 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

You are exactly right, kura.log is output from log4j and kura-console.log is standard out. I would advise using the log4j logger in your applications. The easiest way to do this is:

private static final Logger s_logger = LoggerFactory.getLogger(Class);


Thanks,
--Dave
Previous Topic:Any recommened unit tests tools for Kura?
Next Topic:Classcast exception
Goto Forum:
  


Current Time: Tue Apr 23 13:34:42 GMT 2024

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top