+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Logging overrides

We can change the log levels by either adding a code override manually or by injecting code using a given script file.

Add a code override manually to change the log level must be done when you are first preparing the image. You must add the new logging configuration to the package_root/mfpf-[analytics|server]/usr/config folder as a separate configuration snippet, which gets copied to the configDropins/overrides folder on the Liberty server.

Injecting code using a given script file to change the log level can be accomplished by using certain command-line arguments when running any of the start*.sh script files provided in the V8.0.0 package (startserver.sh, startanalytics.sh, startservergroup.sh, startanalyticsgroup.sh). The following optional command-line arguments are applicable:

Parent topic: Log and trace collection