Where are oxygen author application log files?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
akheiljain
Posts: 25
Joined: Wed Nov 28, 2018 8:13 pm

Where are oxygen author application log files?

Post by akheiljain » Fri Nov 13, 2020 2:49 am

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.

Radu
Posts: 7314
Joined: Fri Jul 09, 2004 5:18 pm

Re: Where are oxygen author application log files?

Post by Radu » Fri Nov 13, 2020 9:00 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply