Versions Compared

Key

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

...

Turn on debug by access http://{{so}}:8080/mso/logging/debug from browser. Also you need to add/change line like "log.debug.CustomE2EGetService=true" in /etc/mso/config.d/mso.bpmn.urn.properties to enable Groove debugging. Other debug flags are: 

log.debug.CreateCustomE2EServiceInstance=true

...

log.debug.CompareModelofE2EServiceInstance=truetrueA

log.debug.DoCompareModelofE2EServiceInstance=true

...

log.debug.DoScaleVFCServiceInstance=true

...

...

...

...


...

You can also use REST API to turn on debug log:


Code Block
titleTurn on debug
collapsetrue
# Enabling debug logging for Requests-DB-Adapter . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/dbadapters/logging/debug?enable=true\" 

# Enabling debug logging for ASDC-Controller . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/asdc/logging/debug?enable=true\"

# Enabling debug logging for API-Handler-Infra . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/ecomp/mso/infra/logging/debug

...

?enable=true\"

# Enabling debug logging for BPMN . . .
curl -s -o /dev/null -w '%{http_code}' \"http://

...

mso

...

:8080/

...

mso/logging/debug

...

...

?enable=true\"

# Enabling debug logging for SDNC-Adapter . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/adapters/rest/logging/debug

...

?enable=true\"

# Enabling debug logging for Network-Adapter . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/networks/rest/logging/debug

...

?enable=true\"

# Enabling debug logging for VNF-Adapter . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/vnfs/rest/logging/debug

...

?enable=true\"

# Enabling debug logging for Tenant-Adapter . . .
curl -s -o /dev/null -w '%{http_code}' --user \"MSOClient:password1$\" \"http://mso:8080/tenants/rest/logging/debug

...

?enable=true\"

# Enabling debug logging for Workflow-Message-Adapter . . .
curl -s -o /dev/null -w '%{http_code}' \"http://

...

mso

...

:8080/

...

workflows/

...

messages/logging/debug?enable=true\"


Log files

Log file /var/log/ecomp/MSO/BPMN/debugmso.log in testlab_mso_1 container is very helpful to debug issues

...