Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo fixes

...

  1. access the docker for FE or BE example docker exec -it <docker id > bash
  2. go to config/catalog-fe/logback.xml
  3. open the file for editing.
  4. 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" />


  5. change the root level to DEBUG to open all logs in SDC including the dependencies. (Note a lot of log out put output is created and it is hard to folowfollow).
  6. open the logger by a package to enable only sdc spcific logs.
  7. it is importent important to note the opening the logs impacts the aplication application performance so do not leav leave the system in debug level.
  8. the log configuration is runtime editable so no restart is required for the docker, just save the file and that is enughtenough.