where the logger information to be displayed?
for example:
Logger log;
log.trace(“someinforamtion”)
where “someinforamtion” is to be displayed
where the logger information to be displayed?
for example:
Logger log;
log.trace(“someinforamtion”)
where “someinforamtion” is to be displayed
Hi,
Ignition uses Log4J for logging. By default, when you log, the output will go to:
Since we are using Log4J, though, if you learn about that system, you can modify the logging system through the “log4j.properties” file to log to other places as well. I won’t quite go into that here, but if you have something particular in mind, we might be able to help.
Also, just for the sake of being complete, I just want to point out that you should be getting the logger class by calling “LogManager.getLogger(…)”, making sure to use the LogManager class from Log4J, and not the other one (from java.logging, I think).
Regards,