[srslte-users] Log files are empty while process srsxxx running

WILMAR ARLEY ARCILA CASTAÑO wilmar.arcila at udea.edu.co
Tue Feb 25 22:50:16 UTC 2020


Hi all.

I'm trying to use the log file (let's say of the srsepc: /tmp/epc.log)
within a bash script for testing purposes. It only make sense doing this
while the process is running (srsepc in this example). However when I read
the aforementioned file it appears empty, but when the process is stopped
all the messages appear in the log file.
1. Is this behavior due to a lock on this file got for the process srsepc?
2. It's there a way to read on that file while the process srsepc is
running?

As a way around this problem, I'm executing the process like this "sudo
srsepc --log.filename stdout|tee /tmp/epc1.log" and reading from
/tmp/epc1.log.
3. Is there another way to do what I need to do?

Thank you.
---
Wilmar Arcila Castaño.
Grupo de Investigación en Telecomunicaciones Aplicadas (GITA -  of.
18-310), Departamento de Ingeniería Electrónica y de Telecomunicaciones,
Facultad de Ingeniería, Universidad de Antioquia UdeA, Recepción de
correspondencia: Calle 70 No. 52-21, Medellin, Colombia.

-- 
"La información aquí contenida es para uso exclusivo de la persona o 
entidad de destino. Está estrictamente prohibida su utilización, copia, 
descarga, distribución, modificación y/o reproducción total o parcial, sin 
el permiso expreso de Universidad de Antioquia, pues su contenido puede ser 
de carácter confidencial y/o contener material privilegiado. Si usted 
recibió esta información por error, por favor contacte en forma inmediata a 
quien la envió y borre este material de su computador. Universidad de 
Antioquia no es responsable por la información contenida en esta 
comunicación, el directo responsable es quien la firma o el autor de la 
misma."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200225/85d7a61a/attachment.htm>


More information about the srsran-users mailing list