...
The logs are mapped from the docker to an outside path so that on docker failure the logs will still be available.
to change the log level in sdc:
- access the docker for FE or BE example docker exec -it <docker id > bash
- go to config/catalog-fe/logback.xml
- open the file for editing.
in the file you can change the log level:
Code Block <root level="INFO"> <appender-ref ref="ASYNC_ERROR" /> <appender-ref ref="ASYNC_DEBUG" /> <appender-ref ref="AUDIT_ROLLING" /> <appender-ref ref="ASYNC_TRANSACTION" /> <if condition='property("enable-all-log").equalsIgnoreCase("true")'> <then> <appender-ref ref="ALL_ROLLING" /> </then> </if> </root> <logger name="org.openecomp.sdc" level="INFO" />
- change the root level to DEBUG to open all logs in SDC including the dependencies. (Note a lot of log out put is created and it is hard to folow).
- open the logger by a package to enable only sdc spcific logs.
- it is importent to note the opening the logs impacts the aplication performance so do not leav the system in debug level.
- the log configuration is runtime editable so no restart is required for the docker, just save the file and that is enught.