Page 1 of 1

Where are oxygen author application log files?

Posted: Fri Nov 13, 2020 2:49 am
by akheiljain
We are running into an issue where Oxygen Author 20.1 freezes and doesn't open the request file. The file opens up fine in notepad, so we know the file isn't corrupted. The only way to close Oxygen Author is by end tasking it in the Task Manager. I would like to look at the oxygen logs to see what process its chocking on, but I can' t seem to find the logs. Could someone point me to the location on my workstation where I could find them. Thanks in advance.

Re: Where are oxygen author application log files?

Posted: Fri Nov 13, 2020 9:00 am
by Radu
Hi,

Oxygen does not store log files by default but you can enable full debug logging in Oxygen if you want:

https://www.oxygenxml.com/doc/versions/ ... -form.html

So if you create a file named "log4j.properties" with the content:

Code: Select all

log4j.rootCategory= debug, R2
  
log4j.appender.R2=org.apache.log4j.RollingFileAppender
log4j.appender.R2.File=${user.home}/Desktop/oxygenLog/oxygen.log
log4j.appender.R2.MaxFileSize=12000KB
log4j.appender.R2.MaxBackupIndex=20
log4j.appender.R2.layout=org.apache.log4j.PatternLayout
log4j.appender.R2.layout.ConversionPattern=%r %p [ %t ] %c - %m%n 
and you place it in the Oxygen installation folder, restart Oxygen on your Desktop there should appear an "oxygenLog" file containing logging information. It is a rolling file appender, meaning that the most recent log information is in the "oxygen.log" file, and it's also configured not to overpass 12MBs of log.

After you reproduce the freeze problem and force close Oxygen in those log files you can search for lines like Thread "AWT-EventQueue-0" as we have an utility dumping the stack traces of all threads from time to time.
Or you can zip and send us the "oxygenLog" to support@oxygenxml.com, then we'll look into that on our side.

One more thing, keeping the logging always on makes the application run slower, so once you get the details that you want, you can delete the "log4j.properties" and restart Oxygen.

Regards,
Radu