logging syntax error / exception occurred in client

Hi there,

How can I log syntax error / exception occurred in client to the log file?

Currently in my servoy.properties I have the following log settings:

log4j.appender.configservlet=com.servoy.j2db.server.SlidingWindowAppender
log4j.appender.configservlet.layout=com.servoy.j2db.server.servlets.Log4JHTMLTableLayout
log4j.appender.configservlet.layout.dateTimeFormat=yyyy-MM-dd HH:mm
log4j.appender.configservlet.windowSize=1000
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=servoy_log.txt
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %c - %m%n
log4j.debug=true
log4j.logger.com.servoy.j2db.util.Debug=ERROR
log4j.logger.wicket=WARN
log4j.rootCategory=INFO, file, configservlet, stdout
log4j.rootLogger=WARN, file

I can see in the log file the syntax error occurred in the developer but not the ones occurred in the client. I want to be able to debug the line which is throwing exception or error

Which client?
The web client errors should appear in the server logs.
For the smart client you can set the webstart option on the client machine to show the console.
When you start the client a window is opened with java logging.

Rob

I am talking about “smart client”

Thanks for the info. In the Java settings I have just enabled to show the console. Then I have enabled the logging. Now I can see the line number where the actual syntax error occurred.