Maybe I'm not using it correctly, but I have tried this a lot, you do get a lot of info in the logs, unfortunately most of it I don't find useful for debugging. It either tells you too much irrelevant data, or it tells you info that is not useful. It doesn't provide you with the user action that is causing the issue. Some examples of not useful and partially useful info are below.
It would be AWESOME if Support could write a small guide on how to use log4j package so we can just get output like:
Timestamp#bsvName#loginname#user interaction description (eg process name, query name, form name, button name)
One line per interaction. Something that just logs WHAT the user is doing, not all the rule outcomes and evaluations.
Also if you set logging to "Full" in the config, you get too much info (examples below), BUT if you set it to "Medium" you don't get enough, you can do create, queries, etc and nothing shows in log. I think you need a setting in between these two.
Examples of Information that is NOT useful:
Case 1:
INFO: InputAdaptor1.Controller has commited 694400 transactions
INFO: OutputAdaptor1.Controller has commited 700300 transactions
INFO: InputAdaptor1.Controller has commited 694500 transactions
INFO: OutputAdaptor1.Controller has commited 700400 transactions
INFO: InputAdaptor1.Controller has commited 694600 transactions
INFO: OutputAdaptor1.Controller has commited 700500 transactions
INFO: InputAdaptor1.Controller has commited 694700 transactions
INFO: OutputAdaptor1.Controller has commited 700600 transactions
INFO: InputAdaptor1.Controller has commited 694800 transactions
INFO: OutputAdaptor1.Controller has commited 700700 transactions
INFO: InputAdaptor1.Controller has commited 694900 transactions
INFO: OutputAdaptor1.Controller has commited 700800 transactions
INFO: InputAdaptor1.Controller has commited 695000 transactions
INFO: OutputAdaptor1.Controller has commited 700900 transactions
INFO: InputAdaptor1.Controller has commited 695100 transactions
INFO: OutputAdaptor1.Controller has commited 701000 transactions
INFO: InputAdaptor1.Controller has commited 695200 transactions
INFO: OutputAdaptor1.Controller has commited 701100 transactions
Case 2:
java.util.zip.DataFormatException: incorrect header check
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:259)
at java.util.zip.Inflater.inflate(Inflater.java:280)
at org.openadaptor.util.compression.ZipUncompress.uncompress(Unknown Source)
at com.bas.shared.data.BinaryResource.unzipResources(Unknown Source)
at com.bas.shared.docengines.HtmlEngineClient.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.C(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.A(Unknown Source)
at com.bas.basserver.iopipes.EmailSink$_E.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Example of partial information (but not enough to be useful):
Case 1: No timestamp, no bsv name, no username, no name of query being run:
INFO: InputAdaptor1.Controller has commited 693800 transactions
Unable to find LoggedInRegularUser.InvestmentRange in query FIND Franchisor WHERE EXISTS Industry WHERE ((Industry IN Franchisor.IndustryLINK AND Industry IN LoggedInRegularUser.IndustryLINK) OR LoggedInRegularUser.IndustryLINK IS UNDEFINED) AND (Franchisor.InvestmentRange=LoggedInRegularUser.InvestmentRange OR LoggedInRegularUser.InvestmentRange IS UNDEFINED)
Case 2: no bsv name, no username, no name of process that initiated this error
2017-01-31 14:44:45,368 ERROR -Exception forming notification for e-mail FW: Add postal from Sally Test Sally.test@obscured.com duplicate entry: image006.png E-mail will not be processed
java.util.zip.ZipException: duplicate entry: image003.png
Case 3: no username, no process name, no way of knowing how it was user initiated
2017-01-30 22:11:42,852 Reply#34125#ESC#7466ba7948de63dc259da7eebf829604 -16 Finished resuming process 33739
2017-01-30 22:11:42,852 Reply#34125#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:42,852 Reply#34125#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:42,862 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:42,862 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:42,862 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -19 Resuming process 33739
2017-01-30 22:11:43,837 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:43,837 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:43,837 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -20 Executing process MessageES_Sync_1 with parameters: MessageES:155646048
2017-01-30 22:11:44,100 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:44,100 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -17
2017-01-30 22:11:44,100 Reply#33739#ESC#7466ba7948de63dc259da7eebf829604 -23 Starting execution of rules when creating business object Notes 155646049
Case 4: No timestamp, no bsv name, no username, no understanding of user interaction
INFO: OutputAdaptor1.Controller has commited 1926200 transactions
Unable to find InvoiceLines.ItemCode in query FIND StockItems WHERE StockItems.ItemCode=InvoiceLines.ItemCode
EmailSource: checking e-mail
INFO: InputAdaptor1.Controller has commited 1909400 transactions
EmailSource: checking e-mail