That should probably be deleted, SO PODS support modifying log level using spring actuator semantics mounted at manage/loggers.
https://www.baeldung.com/spring-boot-changing-log-level-at-runtime Thanks -Steve From: <[email protected]> on behalf of Vivekanandan Muthukrishnan <[email protected]> Reply-To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Tuesday, March 3, 2020 at 11:06 AM To: "[email protected]" <[email protected]> Subject: [onap-discuss] SO DEBUG log level REST API calls fail Dear SO team, I am trying to enable debug logs for SO BPNM by following the CURL Commands from Wiki page https://wiki.onap.org/display/DW/SO+Component<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_SO-2BComponent&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=FDl8B06Fc1LP0qltGCvqEV7Jf7Kk1twAMbRPnJ28UFk&s=QMBaB_2OnCJmXLdLUlTMBm7TfDM28NoutMULLPbZ1jQ&e=>. It seems like SO REST API URL path has changed. The CURL command fails with 404 with No message available for path /mso/logging/debug. This is pretty much the same error for all other SO components as well. Here is the command snippets for your reference. Could someone from SO team help me to resolve the below issues would be greatly appreciated. Code & Log snippet export SO_SVC_IP=$(kubectl get svc -n onap -o wide | grep '^so' | grep -v 'so-.*' | awk '{print $3}') export SP_SVC_PORT=$(kubectl get svc -n onap -o wide | grep '^so' | grep -v 'so-.*' | awk '{print $5}' | awk -F ':' '{print $1}') curl -v --user "InfraPortalClient:password1$" http://${SO_SVC_IP}:${SP_SVC_PORT}/mso/logging/debug?enable=true<https://urldefense.proofpoint.com/v2/url?u=http-3A__-24-257BSO-5FSVC-5FIP-257D-3A-24-257BSP-5FSVC-5FPORT-257D_mso_logging_debug-3Fenable-3Dtrue&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=FDl8B06Fc1LP0qltGCvqEV7Jf7Kk1twAMbRPnJ28UFk&s=zenkkyNuSAgr4kSBsi6toE831FTu6sI8uM-wEAIStEg&e=> * Trying 10.43.245.9... * TCP_NODELAY set * Connected to 10.43.245.9 (10.43.245.9) port 8080 (#0) * Server auth using Basic with user 'InfraPortalClient' > GET /mso/logging/debug?enable=true HTTP/1.1 > Host: > 10.43.245.9:8080<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.43.245.9-3A8080&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=shs6nPzThSiGJml9VXN0Eg&m=FDl8B06Fc1LP0qltGCvqEV7Jf7Kk1twAMbRPnJ28UFk&s=BrAQECDR7kF6cEWjHI1GUt-HXuWEQu5X1duNp-ykti0&e=> > Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA== > User-Agent: curl/7.58.0 > Accept: */* > < HTTP/1.1 404 < Set-Cookie: JSESSIONID=D6A177779E0EAB25A551991D67D29827; Path=/; HttpOnly < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: 0 < X-Frame-Options: DENY < Content-Type: application/hal+json;charset=UTF-8 < Transfer-Encoding: chunked < Date: Tue, 03 Mar 2020 15:56:51 GMT < * Connection #0 to host 10.43.245.9 left intact {"timestamp":"2020-03-03T15:56:51.542+0000","status":404,"error":"Not Found","message":"No message available","path":"/mso/logging/debug"} -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20164): https://lists.onap.org/g/onap-discuss/message/20164 Mute This Topic: https://lists.onap.org/mt/71703404/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
