Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Cargo is able to configure containers to generate various levels logs. There are 3 levels defined in LoggingLevel.LOW, LoggingLevel.MEDIUM and LoggingLevel.HIGH (LoggingLevel.MEDIUM is the default value). They represent the quantity of information you wish to have in the generated log file. You can tune container logging by using the following API:

Code Block
configuration.setProperty(GeneralPropertySet.LOGGING, LoggingLevel.HIGH.getLevel());

The class has been introduced in CARGO 1.1.0. In previous versions of CARGO, use the string constants low, medium and high.