[Rock-dev] splitting log files / force logger to start a new file

Sylvain Joyeux sylvain.joyeux at dfki.de
Thu Nov 3 10:49:18 CET 2011


On 11/03/2011 10:40 AM, Alexander Duda wrote:
> Hi,
>
> are there any tools for splitting log files?
Yes. The split-based-on-markers script.

> We are going to have the following situations and need a way to split
> the log files into parts when data are available on a specific port.
I don't really understand the need for it. Could you be more explicit ?

> For on sight data analyses it would be also useful to force the logger
> to start a new file without restarting the deployment. So far I saw the
> only way to do this is to stop and start the logger task. Are there any
> drawbacks for doing so (beside loosing some samples)?
None that I know of.

> Stream configuration:
>
> stream: camera.frame_raw
> -->  high resolution
> -->  logging is turned on and off because of limited disk space without
> restarting the deployments (logger.unreportPort)
You don't need to call unreportPort that. You can simply 
disconnect/reconnect the port.
-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list