audit4j / audit4j-core

An open source auditing framework.
http://audit4j.org
Apache License 2.0
125 stars 77 forks source link

Can't load Audit4J configuration file from desired path #47

Closed italopaiva closed 8 years ago

italopaiva commented 8 years ago

In the configuration section of Audit4J documentation it says that the first step that Audit4J try to do is:

"1. Check whether configurations that are directly injected are available in the Context. If available; proceed with the injected configuration. If not, jump to step 7."

How do I "directly inject the configurations in the Context" ?

I'm not able to choose a configuration file from a folder in my application (like 'src/main/resources', for instance), Audit4J is always jumping to the step 7 and creating a new configuration file.

Thanks!

_OBS.:_ I don't know if it is a bug, but when Audit4J creates the configuration file, its name is being "auit4J.conf.yml" instead of "audit4J.conf.yml".

sdcavanaugh commented 8 years ago

What version are you using? 2.4.1 saves the configuration to audit4j.conf.yaml.

On Thu, Jun 23, 2016 at 10:25 AM, Italo Paiva notifications@github.com wrote:

In the configuration section of Audit4J documentation it says that the first step that Audit4J try to do is:

"1. Check whether configurations that are directly injected are available in the Context. If available; proceed with the injected configuration. If not, jump to step 7."

How do I "directly inject the configurations in the Context" ?

I'm not able to choose a configuration file from a folder in my application (like 'src/main/resources', for instance), Audit4J is always jumping to the step 7 and creating a new configuration file.

Thanks!

OBS.: I don't know if it is a bug, but when Audit4J creates the configuration file, its name is being "auit4J.conf.yml" instead of "audit4J.conf.yml".

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/audit4j/audit4j-core/issues/47, or mute the thread https://github.com/notifications/unsubscribe/AFLBHg-Hyafbc7S35nMbS6oTBMl8rINzks5qOpd2gaJpZM4I83Zu .

italopaiva commented 8 years ago

@sdcavanaugh, I'm using the version 2.2.0.

Thanks for the quick answer!

italopaiva commented 8 years ago

I upgraded the to 2.4.1 version and now is working fine!

Thanks, @sdcavanaugh!