Enable Debug or Log errors using Libreoffice for Linux

Hi Guys, I’m using the LO software to convert some DOC and ODT files to PDF. Here’s the call of the LO:

/opt/libreoffice4.1/program/soffice --accept=“socket,host=,port=8100;urp;” --headless --norestore --invisible --nologo --nofirststartwizard --language=pt-BR >>/var/log/libreoffice 2>&1 &

Lately it simply stops working after some time(hours, days, not certain), queuing the new files, returning no error. I dunno what’s happening 'cause i can see no option to log some exception or error. There’s any way to enable some kind of log or debug of this software? I’m kinda lost :s

Use the --backtrace argument. To obtain even greater detail on what is occurring I would suggest downloading a daily build with debugging symbols.