Expand my Community achievements bar.

SOLVED

Prevent access to logs in System Console

Avatar

Level 4

Can I prevent access to viewing the logs in the System Console?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Sorry Tim.  I though you are looking for log service[1]  but you are looking for log support. There is no configuration option AFAIK unless you disable the bundle which has side effects. 

[1]   http://localhost:4502/system/console/logs

View solution in original post

3 Replies

Avatar

Level 10

For everyone you can remove log service from [1]. If you are looking for certain user then have to custom implement webconsolesecurityprovider.

[1] http://<host>:<port>/system/console/configMgr/org.apache.felix.webconsole.internal.servlet.OsgiManager

Avatar

Level 4

Thanks Sham, but I'm not sure that worked.

I unchecked Log Support.  Even restarted AEM.

/system/console/logs - Shows a page with some dropdowns for log options, but no actual logging.  Nothing is shown regardless of whether the plugin is checked or not

/system/console/slinglog - still shows if Log Support unchecked (What should I see?)

/system/console/status-slinglogs - still shows if Log Support unchecked (What should I see?)

Avatar

Correct answer by
Level 10

Sorry Tim.  I though you are looking for log service[1]  but you are looking for log support. There is no configuration option AFAIK unless you disable the bundle which has side effects. 

[1]   http://localhost:4502/system/console/logs