Archive for October, 2009

Shortcut keys for Windows Control Panel

October 30, 2009

The following shortcut keys are more useful to quickly access the control panel applets.

Go to Window Start Menu -> Click Run and then type your required applet shortcut key. (Or) Just press windows button + r in the keyboard, a Run window will prompt, here you can enter the corresponding applet shortcut key.

Control Panel Applet Name
Shortcut Key
Accessibility Options access.cpl
Add New Hardware Wizard hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Date and Time Properties timedate.cpl
Display Properties desk.cpl
FindFast findfast.cpl
Internet Properties inetcpl.cpl
Joystick Properties joy.cpl
Keyboard Properties main.cpl keyboard
Mouse Properties main.cpl
Network Properties ncpl.cpl
Password Properties password.cpl
Phone and Modem options telephon.cpl
Power Management powercfg.cpl
Regional settings intl.cpl
Scanners and Cameras sticpl.cpl
Sound Properties mmsys.cpl sounds
Sounds and Audio Device Properties mmsys.cpl
System Properties sysdm.cpl
User settings nusrmgr.cpl
TweakUI tweakui.cpl



Enabling Tomcat Access Logs

October 24, 2009

Add the following code snippet in the file $CATALINA_HOME/conf/server.xml. This will creates log files to track client access informations such as user session activity, user authentication information, page hit counts.

<Valve className=”org.apache.catalina.valves.AccessLogValve” directory=”logs”
prefix=”localhost_access_log.” suffix=”.txt” pattern=”common” resolveHosts=”false”/>

The code snippet states that the log file ‘localhost_acess_log.txt’ will be placed under $CATALINA_HOME/logs directory.

Restart the tomcat, its working.