After update from 12 to 14 olat.log not working

15 views
Skip to first unread message

nicojo...@googlemail.com

unread,
Apr 29, 2020, 6:24:23 AM4/29/20
to OpenOlat
Hi,

after a update from OpenOlat 12 to 14.2.0 the olat.log is not working.
lib/log4j2.xml is created and lib/log4j.xml ist deletet. The Server is up and running but the loging is not working.
Any ideas?

olat.local.properties:

db.source=jndi
db.jndi=java:comp/env/jdbc/OpenOLATDS
db.vendor=postgresql
installation.dir=/home/openolat
server.contextpath=/openolat
server.domainname=olat.serv.de
server.port=8080
server.port.ssl=443
smtp.host=mail.serv.de
userdata.dir=/home/openolat/olatdata
log.dir=/home/openolat/logs
log.filename=olat.log

Regards
Nico

Florian Gnägi

unread,
Apr 29, 2020, 9:00:29 AM4/29/20
to open...@googlegroups.com
Hi Nico

Go to https://www.openolat.com/fileadmin/adminwiki/_START_.html, then open "Installation of OpenOLAT with PostgreSQL (recommended)“ and search for log4j. 

In the paragraph "Configure log4j2 for OpenOlat 14 and newer“ you will find how to configure log4j properly. 


Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/f5ae4d8a-6e4e-4082-83d8-50487fcc187f%40googlegroups.com.

--------------------------------------------------------------------
professional services for the e-learning system OpenOlat
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Okenstrasse 6
CH-8037 Zürich, Switzerland


Find me on wire skype twitter xing linkedin 
--------------------------------------------------------------------

nicojo...@googlemail.com

unread,
Apr 29, 2020, 9:28:58 AM4/29/20
to OpenOlat
Hi Florian,

I have already done that. 
As written above, I deleted the old log4j.xml file and createt the new log4j2.xml with the new content. 
The mysterious thing is that he no longer writes anything in the olat.log file.

Regards
Nico
Hi Nico


Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.

Florian Gnägi

unread,
Apr 29, 2020, 10:46:48 AM4/29/20
to open...@googlegroups.com
Hi Nico 

It is difficult to say something without any information. Check your catalina.out

Cheers
Florian


Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/d130c6bc-96ac-42e4-b416-49daaff57645%40googlegroups.com.

Lang Sandra

unread,
May 13, 2020, 11:42:15 AM5/13/20
to OpenOlat
Hello! https://www.openolat.com/fileadmin/adminwiki/QW5vdGhlcl9JbnN0YWxsYXRpb25fR3VpZGU=.html
Is the above one correct? I dont think there’s much difference to the one you have posted. The above one used a newer version of tomcat and jre and named the openolat.xml as ROOT.xml
Reply all
Reply to author
Forward
0 new messages