Logging - Actions

There are two different types of logs in OliveTin - application logs and action logs. This page is about the action logs, which are the logs that are generated by the actions that you run in OliveTin.

Controlling access to see action logs

You can control access to action logs using permissions, which are assigned to actions.

Disabling logs for all users

logLevel: info

defaultPermissions:
  logs: false

Enabling logs for a specific ACL

logLevel: info

defaultPermissions:
  logs: false

accessControlLists:
  - name: admin
	matchUsernames:
	  - alice
	  - bob
	permissions:
	  logs: true

	addToEveryAction: true

actions:
  - title: My Action
	shell: echo "Hello World"

Disabling the log viewer

You can disable the log viewer in the interface with security policy configuration, using the defaults, or via an ACL. Examples are shown below for each of these methods.

Disable log viewer for all users;

logLevel: info
defaultPolicy:
  showLogList: false

Disable log viewer expect for admin users

logLevel: info

defaultPolicy:
  showLogList: false
accessControlLists:
  - name: admin
	matchUsernames:
	  - alice
	  - bob
	policy:
	  showLogList: true