Forum Discussion

Jimmy_L's avatar
Jimmy_L
Icon for Altostratus rankAltostratus
Jan 31, 2017

Can't change APM access control log level in 12.1.1

Before upgrading to 12.1.1 I was able change the APM access control log leve from notice to debug with the following tmsh command: modify sys db log.accesscontrol.level value debug

 

Now this gives me the following output and doesn't change: There were warnings: Please set log level value for log.accesscontrol.level in apm log-setting /Common/default-log-setting.

 

I've found varying syntaxes such as { value "debug" } and other minor variations, all result in the same.

 

I am still able to modify other log values with the same syntax, such as log.webapplications.level, but at least one other, log.sso.level gives me the same error as log.accesscontrol.level.

 

The Googles and the forums have not supplied an answer. Any suggestions?

 

1 Reply

  • You can modify this by editing the APM log profile in APM > Event Logs > Log Settings. Modifying the value of "Access Policy" will change that db variable. Same for the SSO option.

     

    Alternatively, you can edit that log profile setting via the CLI with the below commands:

     

    tmsh modify apm log-setting default-log-setting access modify { all { log-level { access-control debug } } }

     

    tmsh modify apm log-setting default-log-setting access modify { all { log-level { sso debug } } }