How to start soffice to generate a LOG file?

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
iam33
Posts: 5
Joined: Tue Sep 28, 2010 1:20 pm

How to start soffice to generate a LOG file?

Post by iam33 »

Thank you very much in advance!

I have started the openoffice as a local service (Linux):

Code: Select all

 soffice-headless-nologo-nofirststartwizard-accept = socket, host = 0.0.0.0, port = 8100; urp 
And I would like to write a trace log, but I do not know how to do it.
Can you help me start the service to write a log file?
Thank you!
OOo 3.1
RHEL 4 U4
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to start soffice to generate a LOG file?

Post by Villeroy »

Code: Select all

soffice -headless -nologo -nofirststartwizard -accept="socket,host=0.0.0.0,port=8100;urp"  > logfile.txt 2>&1
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
octopusthu
Posts: 1
Joined: Wed Oct 17, 2018 9:01 am

Re: How to start soffice to generate a LOG file?

Post by octopusthu »

Villeroy wrote:

Code: Select all

soffice -headless -nologo -nofirststartwizard -accept="socket,host=0.0.0.0,port=8100;urp"  > logfile.txt 2>&1
Tried this but OpenOffice doesn't write anything to logfile.txt. Any ideas?
OpenOffice 4.1.5 on Linux (CentOS).
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to start soffice to generate a LOG file?

Post by Villeroy »

Works without options

Code: Select all

/opt/openoffice4/program/soffice  > logfile.txt 2>&1

cat logfile.txt 
Gtk-Message: 11:02:03.447: Failed to load module "canberra-gtk-module"

** (soffice:15358): WARNING **: 11:02:03.457: Unknown type: GailWindow
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply