that were shone when I got tempered!

Speedup the log4j logging in eclipse

with one comment

This is the method that I found to speedup the logging.

1. Go to Windows > Preferences


2. Go to Java > Editor > Templates in there and create a new template or select the Existing one to edit


3. Sample command“${enclosing_mathod}().${word_selection} : ” + ${word_selection}${});${cursor}

(Note : If you are copy paste this. Please replace the ” by typing double quotes. It will not added as double quotes.)


4. It’s Show-Time!!!

  • Type the variable you want to log
  • Select it.
  • Press Ctrl + Space
  • Type shortcut name you added or edited (eg: li) to select it from the drop down suggestions.
  • Hit enter and see what happens.

Written by Namal Fernando

August 14, 2013 at 12:03 am

Posted in Eclipse, log4j

Tagged with , ,

One Response

Subscribe to comments with RSS.

  1. Ajit Patil

    August 14, 2013 at 5:46 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Ruth's Reflections

Contemplations from quakey quirky Christchurch

TED Blog

The TED Blog shares interesting news about TED, TED Talks video, the TED Prize and more.


Learn and discover simple things

Meihta Dwiguna Saputra's Knowledge Base

~In learning you will teach and in teaching you will (re)learn~

The Java Blog

Thoughts, tips and tricks about the Java programming language


that were shone when I got tempered!

%d bloggers like this: