on 09-29-2014 2:17 PM
Hi,
we used the AgentryAppender in Agentry-v5.jar in our applications to add custom log messages to Agentry log files. With SP05 Agentry logging seems to have switched from log4j to java.util.logging. What is the recommended setup now to log custom messages? Is there any kind of migration guide? We already did some research but we have not been able to use the new logging framework successfully.
Regards,
Christoph
Tags edited by: Michael Appleby
After some more research, we found out that the AgentryHandler was not initialized. We fixed this by adding the following line to props.ini file:
-Djava.util.logging.config.class=com.syclo.agentry.utility.java_logging.AgentryJavaLoggingConfigurator
Now we can use User.debug() as well as the UserLogger class again. Can I consider this a bug or did we miss any options in the admin console that enabled Java logging features?
Regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you check Java docs of the product ? Java docs should have all the class hierarchy details.
Manju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using a prebuilt application or a custom one? If it is a prebuilt one what application are you using?
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.