score:1
wich logging implementation are you using? in logging.propertie you are configuring apache log. to user pure java log, try to configure programmatically, something like this:
static logger logger = logger.getlogger(yourclass.class.getname());
system.setproperty("java.util.logging.simpleformatter.format", "%4$s: [%1$tc] %5$s %n");
//creating consolehandler and filehandler
consolehandler = new consolehandler();
logger.addhandler(consolehandler);
//setting levels to handlers and logger
consolehandler.setlevel(level.all);
consolehandler.setformatter(new simpleformatter());
.. when you want to log, do this:
logger.log(level.fine, "hello log");
Source: stackoverflow.com
Related Query
- Eclipse console doesn't show Tomcat exceptions/stacktrace
- Eclipse Does not show Tomcat server logs in terminal console
- Eclipse console doesn't show the whole output
- Tomcat throws ClassNotFound exceptions for classes in other open eclipse projects
- Watch expression doesnt show value in eclipse with java
- Why is Eclipse - Tomcat 7 displaying all text in color red in console
- Eclipse console and java stacktrace colors
- How to have Eclipse console show the same GoogleTests output as in the terminal?
- Show java errors in console in Eclipse
- how to show result of java program in console output in eclipse using log4j logger?
- Eclipse 3.4 + Tomcat 6.0 + Remote Debugging with Console Output
- Show coloured log4j output in Eclipse console
- Show Log4J2 Output in Eclipse Console
- When I paste a java file in eclipse src folder, it doesnt show up
- Eclipse CDT debugger does not show console
- Filtering app server console output in Eclipse to not include long stack traces and just show me the error message?
- show console in runtime eclipse plugin
- Why doesnt an added folder not show up in eclipse in project directory?
- Making Eclipse show the topmost exception in its console instead of the full stack trace
- My eclipse tomcat server is stopping and gives these exceptions "java.net.SocketException" and "java.net.BindException"
- Eclipse - Console didn't show the Python code fragment output
- how to show eclipse console in my jsp page?
- Cannot view exceptions thrown during Tomcat startup from Eclipse
- Eclipse Console not showing Exceptions
- View remote Tomcat logs in Eclipse Console
- How to get std::cout to show in eclipse IDE console when using boost.test?
- JBoss standard output does not show up in Eclipse Console view
- Tomcat inside of eclipse doesnt take into account my modifications
- Mystery exceptions during Tomcat startup from Eclipse
- Android tools doesnt show up on Eclipse
More Query from same tag
- Eclipse project with ImageIcon
- My installed apps is suddenly stopped in emulator
- Why do I get the message "source not found" from Eclipse?
- How to implement filter search for listAdapter?
- Content Assist fails for Ruby with Aptana on Eclipse
- Static global variable cannot be resolved
- Eclipse crashes while trying to export application
- Array Clone doesn't work
- How do I disable single-key key bindings in Eclipse Text widgets
- is refactoring available in Adobe brackets
- Is there a way to enable all macros in Eclipse?
- Eclipse Project Import/Export Issues
- jBPM with eclipse error java.lang.RuntimeException
- jQuery Mobile & PhoneGap deviceReady() not fired
- persisting hyperjaxb-generated entities to mysql from eclipse
- R.java is missing, what are other possible errors that led to this?
- Eclipse IDE set up only methods of class be visible in package explorer
- Eclipse Java "pop-up" functions
- Unable to open data-integration app in mac
- What defines the main class if MANIFEST.MF is not present
- Eclipse IDE - meaning of symbol in hierarchy tree
- Can't use css in codename one
- JUnit won't stop at breakpoints in Eclipse (using JDK 1.6.0.20)
- Run or Debug when using Eclipse?
- FaceBook SDK import in eclipse
- Import key store from eclipse to android studio
- runtime exception in loading text reading library (tesseract) for OCR in eclipse juno
- setText to a variable
- Is there way to automatically expand a specific folder in Eclipse Project Explorer?
- Is it possible to "marry" Eclipse PHP with Java EE?