Archives


VMware View log viewing

With the addition of VMware View your environment gains complexity. Before adding components like vdmimageVMware View or Lab Manager you only have one point of logging in your virtual enviroment, vCenter Server. Now you have to look into the textfiles itself if you want to do some real troubleshooting.

When I had to do some troubleshooting last week for VMware View I found that it was a pain in the butt to search through the logfiles of VDM, which are placed like other VMware (text)logs under \Documents and Settings\All Users\Application Data\VMware\

After setting the logfile from the VDM server I noticed that it uses log4j, a logging mechanism for Java applications. After some more googling I found out that you can use Chainsaw from Apache for logparsing.

To watch a logfile add a new receiver (LogFilePatternReceiver) with the following settings for VDM

fileURL: file:///c:/vdmlogfiles/logs/log-2009-04-26.txt
logFormat: PROP(RELATIVETIME) LEVEL LOGGER [THREAD] MESSAGE
name: vdmlog
tailing: false

vdmlogview1You can leave filter expression empty. If you enter text here it will filter the logfile before it parses it.

You can also set tailing to true if you are watching a live logfile (Haven’t tried it with VDM though).

Click the picture to see how it looks. With Chainsaw you can easily focus on different parts of the logfile just by rightclicking an item in the left pane and select “Focus on”.

With Chainsaw it is also possible to read other logfiles like the VMware Update Manager logfile.

Google BookmarksEmailHyvesStumbleUponLinkedInShare

Related posts:

  1. Download VMware View 4.5 now
  2. VMware View: Design Best Practices course
  3. VMware View 4.0.1 released
  4. VMware ALERT: VMware View Composer 2.0.x is not supported in a vSphere vCenter Server 4.1
  5. VMware View problems

Tags:

About

Anne Jan Elsinga is a Consultant for Imtech ICT in the Netherlands. He spends his working hours with a lot of virtualization stuff, from feasibility to implementation for server virtualization/consolidation and desktop virtualization. In 2009, 2010 and 2011 he was awarded with the VMware vExpert status. In the night time he dances latin, ballroom and salsa and he also discovered the pleasure of diving.

  • http://www.nikemaxsale.com air max shoes

    Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!