ttcn3_logmerge(1)

✨ ttcn3_logmerge β€” the TTCN-3 log file merge utility ✨

okay bestie, welcome to ttcn3_logmerge(1), part of the TTCN-3 Tools fam πŸ’– this is your girl's quick reference for the logmerge utility, and yes it's gonna be cute AND correct, no cap.


🌸 SYNOPSIS 🌸

ttcn3_logmerge [ -o outfile ] file.log ...

or

ttcn3_logmerge -v

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this manual page is a quick reference for the logmerge utility of the TTCN-3 Test Executor πŸ’… the ttcn3_logmerge utility lives in $TTCN3_DIR/bin (yes, that's where it's at, remember it), and what it does is merge all the files you pass as command arguments into one single output file.

and the way it sorts?? obsessed. πŸ”₯ the output of ttcn3_logmerge is sorted based on the timestamps found in the log files. literally chronological, as it should be.

where this eats: test suites running in parallel mode. it can merge the logs of different PTC into one single file based on the timestamps β€” like, all the chaos, one tidy timeline ✨


πŸ’… OPTIONS πŸ’…

here's every command line switch, and there are only two so you literally have no excuse:

  • -o outfile β€” merges all input log files into outfile. if outfile already exists, its contents will be overwritten 😭 (rip whatever was in there). this switch is optional, and when you omit it, the merged logs get printed to standard output instead.
  • -v β€” prints version and license key information, then exits. short and sweet, a lil info dump and she's gone πŸŽ€

🌈 ENVIRONMENT VARIABLES 🌈

two of them, both important, both iconic:

  • TTCN3_DIR β€” the installation directory where the uncompressed binary package of TTCN-3 Test Executor can be found. this is the one that tells you where your stuff lives 🏠
  • TTCN3_LICENSE_FILE β€” it shall point to the file (NB: not to its directory bestie, the FILE, i'm being so serious) that contains the personalized license key for the current user or host. πŸ”‘

πŸ’€ BUGS πŸ’€

None known at this time

...yeah. flawless behavior, apparently. we love a clean record πŸ™ˆβœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

The User Documentation for the TTCN-3 Test Executor.


🫢 AUTHOR 🫢

This manpage is written by Csaba Koppany, Ericsson Telecom AB

Copyright (c) 2000-2021 Ericsson Telecom AB

All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html


and that's the whole page, bestie πŸ’– go merge those logs, stay sorted, and remember: -o overwrites, so double check before you commit. mwah πŸŽ€

Ericsson Telecom AB Β· January 2021 Β· ttcn3_logmerge(1) β€” signing off, ily, bye πŸ’…πŸŒΈ

πŸ“¦ where this page comes from