Configuring Logging for Command Line Tools

Last updated 4 minutes ago

Learn how to configure logging for CoreMedia command line tools

LightbulbWhat you'll learn

  • Configure the logging of CoreMedia command-line tools

Person reading a bookPrerequisites

  • A CoreMedia workspace

WristwatchTime matters

Reading time: 3 to 5 minutes

Person in front of a laptopShould I read this?

This guide is for Developers, Administrators.
Table of Contents

By default, the logging configuration for each command-line tool is taken from the tools-logback.xml file in properties/corem directory. You can use a customized configuration file and add the file name to the system properties when initializing the application with:

-Dlogback.configurationFile=file://localhost/<PathtoYourFile>/<yourFileName>.xml

You will find the default logging facilities of CoreMedia applications in the default logging configuration.

stdout/stderr Output

Enter the location for the stdout/stderr output of an application and any other third-party program in the corresponding JPIF start file of the application. To do so, configure the parameter OUTPUT_REDIRECT in the corresponding JPIF file of the application as it is described in this file.

Copyright © 2024 CoreMedia GmbH, CoreMedia Corporation. All Rights Reserved.