This command sets a log level for one or multiple loggers.
SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.
For more information, see SAP Note 3351844.
This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform
↗️ .
neo set-log-level --account <subaccount_technical_name> --application <application_name> --user <e-mail_or_user> --host <host> --loggers <logger_name1>,<logger_name2>,... --level <log_level>
Simple Logging Facade for Java (SLF4J) uses the following log levels:
Level |
Description |
---|---|
ALL |
This level has the lowest possible rank and is intended to turn on all logging. |
TRACE |
This level designates finer-grained informational events than DEBUG. |
DEBUG |
This level designates fine-grained informational events that are most useful to debug an application. |
INFO |
This level designates informational messages that highlight the progress of the application at coarse-grained level. |
WARN |
This level designates potentially harmful situations. |
ERROR |
This level designates error events that might still allow the application to continue running. |
OFF |
This level has the highest possible rank and is intended to turn off logging. |
HTTP headers are logged in plain text once the log level is set to
DEBUG
orALL
. Thus, in case they contain any sensitive information, such as passwords kept in an HTTP Authorization header, it’s disclosed in the logs.
To list all parameters available for this command, execute neo help set-log-level
in the command line.
Required |
|
---|---|
|
Subaccount technical name
|
|
Application name
|
|
Single or multiple comma-separated logger names
|
|
Enter a region host.
|
|
The log level you want to set for the logger(s)
|
|
Password for the specified user. To protect your password, enter it only when prompted by the console client and not explicitly as a parameter in the properties file or the command line.
|
|
Your email, SAP ID or user name
|
neo set-log-level --account mysubaccount --application demo --user p1234567890 --host hana.ondemand.com --loggers com.acme.foo,com.acme.bar --level ERROR
Related Information