On Friday, 1 March 2013 05:57:36 UTC+8, Paul Gear wrote:
It's been a while since i touched this, but below is what i think
worked last time. I've upgraded my laptop and changed from Ubuntu
10.04 to Linux Mint Debian edition, and i've found that AUSkey
doesn't work on this configuration, so i end up pulling out my old
laptop every time i want to do my BAS. Hope it helps!
log4j.rootLogger=DEBUG,R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=/home/username/AUSkey/debug.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
#log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
log4j.appender.R.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c]
- %m%n
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{HH:mm:ss,SSS}
%-5p [%c] - %m%n
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
Thanks for the details, but I'm still not getting any AusKey logging :-(. I've spent a lot of time on this and worked out how to get the icedtea-web plugin logs on my system (in Ubuntu 12.10/openJava 7u15-2.3.2/IcedTea7 2.3.7), they reside in ~/.icedtea/log as stderr.log and stdout.log.
If I try and access the ATO Business Portal login page (which is still not working on my setup-) the icedtea "java.stderr" log includes the following lines:
log4j:WARN No appenders could be found for logger (au.gov.abr.auth.browserenabler.operationstatemanager.OperationStateManager).
log4j:WARN Please initialize the log4j system properly.
Googling this error message suggests that log4j is not finding its properties file. I've tried putting it in the ~/AUSkey directory (as suggested) as well as in the /usr/java/packages/lib/ext directory which contains all the AUSkey jars including log4j, but I still get the error message and no logging.
It's going to be very hard to try and get AUSkey working on my system without logging :-(
Cheers,
Rob Hills