= Timelog = simple text filter, which changes the log output from Naoqi with time in seconds to human readable times * {{{ timelog < /var/log/naoqi/servicemanager/system.Naoqi.log }}} prints {{{ [I] Apr 17 09:54:32 3113 qimessaging.session: Session listener created on tcp://127.0.0.1:0 [I] Apr 17 09:54:32 3113 qimessaging.transportserver: TransportServer will listen on: tcp://127.0.0.1:37633 [I] Apr 17 09:54:32 3301 core.naoqi: ..::: starting NAOqi version 2.5.8 :::.. [I] Apr 17 09:54:32 3301 core.naoqi: Copyright (c) 2005-2016, Aldebaran Robotics [I] Apr 17 09:54:32 3301 core.naoqi: Build tag: naoqi_service-jenkins-release-2.5_build-naoqi_pepper-atom-66 [I] Apr 17 09:54:32 3301 core.lib.launcher: Loading "/opt/aldebaran/etc/naoqi/autoload.ini" }}} * {{{ grep ALMotion /var/log/naoqi/servicemanager/*.log | timelog }}} annotates the `grep` result {{{ signs-and-feedback.ALSignsAndFeedback.log:[I] Apr 17 09:54:35 3112 ALSignsAndFeedback: Getting requirements: ['ALBehaviorManager', 'ALMotion', 'ALLeds', 'ALAudioPlayer', 'ALAutonomousBlinking', 'ALSpeechRecognition', 'ALMemory'] signs-and-feedback.ALSignsAndFeedback.log:[I] Apr 17 09:54:48 3112 ALSignsAndFeedback: Waiting for requirement: ALMotion system.Naoqi.log:[W] Apr 17 09:54:36 3301 ALMotion: ALProxy::ALProxy system.Naoqi.log:[I] Apr 17 09:54:48 3242 python: Got proxy to ALMotion system.Naoqi.log:[W] Apr 17 09:54:52 3301 ALMotion.LibALMotion: Hidden method setMotionPosture getCycleNumber: 817 postureName: StandInit system.Naoqi.log:[W] Apr 17 09:54:52 3301 ALMotion.LibALMotion: Hidden method setMotionPosture getCycleNumber: 817 postureName: StandInit system.Naoqi.log:[W] Apr 17 09:54:52 3301 ALMotion.LibALMotion: Hidden method setMotionPosture getCycleNumber: 817 postureName: StandInit }}} == Installation == Source code is in [https://gitlab.fi.muni.cz/nlp/pepper-shell-tools/blob/master/bin/timelog gitlab].