Fix LogAnalyzer scoping

Was https://github.com/diydrones/ardupilot/pull/1172 , re-targeted PR according to https://groups.google.com/forum/#!topic/drones-discuss/aCqTJrULGVc