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

Alexander Duda Alexander.Duda at dfki.de
Thu Nov 3 10:59:46 CET 2011


On Thu, 2011-11-03 at 10:49 +0100, Sylvain Joyeux wrote:
> 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 ?

The camera is logged all the time in low resolution for safety reasons
but the data are pretty useless for our algorithm. Therefore we need a
way to split the log file into parts where high resolution frames were
logged. 

one big log file
8:00 o'clock --> 10:00 o'clock low resolution
10:00 o'clock --> 10:15 o'clock low resolution and hight resolution 
10:15 o'clock --> 11:00 o'clock low resolution
...

Maybe the easiest way is to stop and restart the logger

Alex

-- 
Dipl.-Ing. Alexander Duda 
Unterwasserrobotik

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

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda 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