telefonicaid / fiware-pep-steelskin

Telefonica's implementation of the FIWARE PEP GE
GNU Affero General Public License v3.0
0 stars 0 forks source link

Configure the operations that will be logged #375

Closed vgarciag closed 1 year ago

vgarciag commented 6 years ago

This is to configure the operations that will be logged into file. For example, using the Pep for Context Broker, may be that we can only log the operations to create/delete/update entities and subscriptions and not log context updates.

This is to avoid a huge rise of log file and manage what and not what to log.

fgalan commented 6 years ago

can only log the operations to create/delete/update entities and subscriptions and not log context updates

Not sure what do you mean... could you re-formulate the example based on verbs+URLs, please?

vgarciag commented 6 years ago

Not sure what do you mean... could you re-formulate the example based on verbs+URLs, please?

Yes, this is an improvement to the functionality that logs operations in a file to specify what operations will be logged and what not be logged using a new parameter of configuration. IE:

ACCESS_ACCOUNT_OPERATION=[entity_creation,entity_deletion,subscription_deletion]

This only logs operations for entities creations/deletions and subscription deletions .