'function for read log injection proxy'

def ProcessReadLogger(self):

    if path.exists('logs/AccessPoint/injectionPage.log'):
        with open('logs/AccessPoint/injectionPage.log', 'w') as bufferlog:
            (bufferlog.write(''), bufferlog.close())
        self.injectionThread = ThreadPopen(['tail', '-f', 'logs/AccessPoint/injectionPage.log'])
        self.connect(self.injectionThread, SIGNAL('Activated    (    QString    )    '), self.GetloggerInjection)
        self.injectionThread.setObjectName('Pump-Proxy::Capture')
        return self.injectionThread.start()
    QMessageBox.warning(self, 'error    proxy    logger', 'Pump-Proxy::capture    is    not    found')
