I'm using SLF4J facade in my library, which is deployed to ~zimbra/jetty/webapps/zimlet/WEB-INF/lib/ and is referenced from a zimlet jsp file.
It is configured with log4j.properties, where I specified two appenders - log file and stdout.
The log file is not created.
It was expected that stdout appender will print to ~zimbra/log/zmmailboxd.out, but nothing found there.
I've also tried to use jul and log4j directly, as result messages logged via jul appears in zmmailboxd.out.
This doesn't solve my problem because I can't use a specific logging library in my shared library, I want to use SLF4J and logs to be written by logger implementation which is used in the destination application/module.
- Zimbra Collaboration 8.6 Patch 9 now available (includes fix for CVE-2017-8802). Read the announcement.
- Zimbra Collaboration 8.8.6 is available - Improved real-time backup and restore, HSM, Mobile Sync, HSM and Zimbra Chat and Zimbra Drive. Read the announcement.
- Are you a Zimbra Developer? You can find some interesting stuff in our Official GitHub: https://github.com/Zimbra and check the Community Projects too: https://github.com/Zimbra-Community/
Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests