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

No logs with legacy aozan2 configuration #16

Open
loraine-gueguen opened this issue Dec 8, 2023 · 2 comments
Open

No logs with legacy aozan2 configuration #16

loraine-gueguen opened this issue Dec 8, 2023 · 2 comments

Comments

@loraine-gueguen
Copy link

loraine-gueguen commented Dec 8, 2023

With aozan 3.0.2 in legacy mode (aozan.sh $AOZAN_CONF), no logs are generated (even INFO level), either in stderr or log file, with the following configuration parameter:

aozan.log.path=/my/path/aozan.log

I needed to replace this parameter by the two other parameters below, to have INFO logs generated into the log file:

aozan.logger=file
aozan.log=/my/path/aozan.log

and all log levels were written in the file by adding log.level=all as well

@loraine-gueguen
Copy link
Author

loraine-gueguen commented Feb 13, 2024

With aozan-3.1-SNAPSHOT in legacy mode (aozan.sh $AOZAN_CONF), no logs are generated (even INFO level), either in stderr or log file, with any of the following configuration parameters:

aozan.log.path=/my/path/aozan.log

or

aozan.logger=file
aozan.log.path=/my/path/aozan.log

or

aozan.logger=file
aozan.log=/my/path/aozan.log

@loraine-gueguen
Copy link
Author

loraine-gueguen commented Feb 15, 2024

I am not sure why 🤔 but this config generates log now with aozan-3.1-SNAPSHOT

aozan.logger=file
aozan.log.path=/my/path/aozan.log

And log.level=all is not taken into account: only logs equal or with a higher level than INFO are written.

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