Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.5.0 Config with YAML file CustomizableLayout : pb properties dateFormat and template #71

Open
franck-benault opened this issue Feb 23, 2018 · 1 comment

Comments

@franck-benault
Copy link
Contributor

Hello

with Audit4j version 2.5.0
when I am using a config with YAML file
for CustomizableLayout, I cannot use the properties dateFormat and template

YAML example file

!Configuration # Mandatory
 
# Configure handlers, One or more handlers must be configured.
handlers:
- !org.audit4j.core.handler.ConsoleAuditHandler {}
 
# Configure handlers, Either one handler must be configured.
layout: !org.audit4j.core.layout.CustomizableLayout
   dateFormat: yyyy/MM/dd HH:mm:ss
   template: ${eventDate}|${uuid}|${actor}|${action}|${origin} => ${foreach fields field}[${field.name}:${field.value}]${end}
 
# Configure meta data.
metaData: !org.audit4j.core.DummyMetaData {}

root cause:
missing getter for the fields dateFormat and template in CustomizableLayout class

Regards Franck

@franck-benault
Copy link
Contributor Author

I have created the pull request 70 for the field template
#70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant