You are not logged in.
I am currently working to get LDAP working in my ReportServer DEV environment. That consists of running 2 groovy scripts ldapimport.groovy and hookldappam.groovy. In those scripts there is logger.log lines to output verbiage to the log and System.println.out lines. Where does that output go? I looked in the logs folder under ..../apache-tomcat and cannot find anything in the logs there?
Is there a log setting somewhere that I need to change or are these logs that get updated from groovy script located somewhere else?
It would be helpful to know for debugging purposes. Thanks.
Offline
3. To log from groovy scripts you can use the following:
import java.util.logging.Level
import java.util.logging.Logger
Logger logger = Logger.getLogger(getClass().getName());
logger.log(Level.SEVERE, "LOG TEST");
You should then see "my log message" in your reportserver logs.
Regards,
Eduardo
Offline