Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've some job's that write custom info log in console using a custom function (writeLog(message), using System.out.println()).
I've implemented project level log writing in a mysql db the messages with tWarn end tDie (of course using tLogCatcher).
Many messages were moved from custom function to tWarn, but I want have the possibility to use the log inside tJava.
I can't make work any opf the following solution:
1- using the code:
tLogCatcher_1.addMessage("Procedure", "tWarn_1app", 4, "<warning description>",123);
tLogCatcher_1Process(globalMap);
2- using the code:
org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(this.getClass());
logger.info("In your message !!!");
I suppose that is not possible using the standard logging system (defined in Stats & Log in Projet Properties) inside a tjava component.
Someone can help me?
Thanks, Aldo Buttini
up, please anyone can help me?
Thanks, Aldo