#log4j.logger.uk.ac.vamsas.client.simple=DEBUG, CONSOLE
#log4j.logger.jalview.io.VamsasDatastore=DEBUG, CONSOLE
#log4j.logger.uk.ac.vamsas.client=DEBUG, CONSOLE
-log4j.logger.uk.ac.vamsas.client.simpleclient=INFO, CONSOLE
+#log4j.logger.uk.ac.vamsas.client.simpleclient=INFO
+# Uncomment below to DEBUG until you bleed.
+#log4j.logger.uk.ac.vamsas.client.simpleclient=DEBUG
+#log4j.logger.uk.ac.vamsas.client.FileLock=INFO
+#log4j.logger.uk.ac.vamsas.client.NativeLock=INFO
+#log4j.logger.uk.ac.vamsas.client.Lock=INFO
+log4j.logger.uk.ac.vamsas.client.simpleclient.ClientDocument=DEBUG
+log4j.logger.uk.ac.vamsas.client.simpleclient.SimpleClient=DEBUG
+log4j.logger.uk.ac.vamsas.client.simpleclient.EventGenerator=DEBUG
+log4j.logger.uk.ac.vamsas.client.simpleclient.VamsasSession=DEBUG
+log4j.logger.uk.ac.vamsas.client.simpleclient.SessionManager=DEBUG
+#log4j.logger.uk.ac.vamsas.client.picking=DEBUG
+
#specifically turn off Lock debug messages if you want to see DEBUG level logging for simple package
#log4j.logger.uk.ac.vamsas.client.simpleclient.Lock=INFO, CONSOLE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CONSOLE.layout.ConversionPattern=%l %c %x %m%n
+log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %l %x %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.FileAppender
log4j.appender.LOGFILE.Threshold=INFO
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+# this configures session event logging in the .vamsas/sessiondir/log file
+# slog stuff is not really informative as yet.
+log4j.logger.uk.ac.vamsas.client.SessionLog=INFO, SESSIONLOG
+
+# SESSIONFILE is the session file for a vamsas session.
+log4j.appender.SESSIONLOG=org.apache.log4j.FileAppender
+log4j.appender.SESSIONLOG.File=SessionLog.log
+log4j.appender.SESSIONLOG.Append=true
+log4j.appender.SESSIONLOG.Threshold=INFO
+log4j.appender.SESSIONLOG.layout=org.apache.log4j.PatternLayout
+# need to optimise this a bit.
+log4j.appender.SESSIONLOG.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n