===== Log Records ===== ESYA JAVA API uses SLF4J API for logging purposes. SLF4J provides capability to use several existing logging solutions rather than providing a single standalone log framework. To record logs, firstly a logging API supported by SLF4J must be used two examples of which are JUL (java.util.logging) and LOG4J.You can also use SLF4J's own API for logging. To use JUL, corresponding plug-in (slf4j-jdk14-.jar) must be used. For LOG4J, the required plug-in is (slf4j-log4j12-.jar) and LOG4J library files must also be added to the project. The configuration of logging must be performed by the employed API's settings. As for LOG4J, you can specify the configuration file by PropertyConfigurator.configure("file_name") function call. #PropertConfigurator.configure("log4j.properties"); # Set root logger level to DEBUG and its appender to console,rolling,lf5rolling log4j.rootLogger=debug,rolling # BEGIN APPENDER: CONSOLE APPENDER (console) log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%p %d{DATE} %c{2} (%F:%M:%L) - %m%n # END APPENDER: CONSOLE APPENDER (console) # BEGIN APPENDER: ROLLING FILE APPENDER (rolling) log4j.appender.rolling=org.apache.log4j.RollingFileAppender log4j.appender.rolling.File=ESYA_API.log log4j.appender.rolling.MaxFileSize=50MB log4j.appender.rolling.MaxBackupIndex=20 log4j.appender.rolling.layout=org.apache.log4j.PatternLayout log4j.appender.rolling.layout.ConversionPattern=%p %d{DATE} %c{2} (%F:%M:%L) - %m%n # END APPENDER: ROLLING FILE APPENDER (rolling) To configure JUL, the file "logging.properties" in the "lib" folder of the current JRE must be updated properly handlers= java.util.logging.ConsoleHandler .level= FINE java.util.logging.FileHandler.pattern = %h/java%u.log java.util.logging.FileHandler.limit = 50000 java.util.logging.FileHandler.count = 1 java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter com.xyz.foo.level = FINE ESYA C# API uses LOG4NET API which can be configured by XmlConfigurator.Configure(new FileInfo("file_name")) function call.