RE: LCS: Cambiar la ruta de log

Enrique Fernández Rodríguez, modifié il y a 7 années. New Member Publications: 15 Date d'inscription: 25/02/13 Publications récentes

¡Hola!
LCS escribe el log en la ruta @LIFERAY.HOME@/logs/lcs-portlet.log y necesito cambiar la ruta (@LIFERAY.HOME@/lcs/logs/lcs-portlet.log)

¿Cómo puedo hacerlo?

No quiero modificar el lpkg original. ¿Es posible?

Gracias

thumbnail
Jose Jimenez, modifié il y a 7 années. Regular Member Publications: 176 Date d'inscription: 23/08/12 Publications récentes

Hola Enrique, para este caso concreto no hay forma limpia y es necesario modificar el siguiente fichero del war que contiene el lpk, ahí verás la ubicación  y podrás cambiarla:

 Liferay Connected Services Client/lcs-portlet-<version>.war/WEB-INF/classes/META-INF/portal-log4j.xml

 

Saludos.

Enrique Fernández Rodríguez, modifié il y a 7 années. New Member Publications: 15 Date d'inscription: 25/02/13 Publications récentes

Gracias por contestar,

Esperaba que hubiera otra forma de hacerlo pero lo haré como me indicas

thumbnail
Jose Jimenez, modifié il y a 7 années. Regular Member Publications: 176 Date d'inscription: 23/08/12 Publications récentes
Enrique Fernández Rodríguez, modifié il y a 7 années. New Member Publications: 15 Date d'inscription: 25/02/13 Publications récentes

Si, lo había añadido al foro en inglés.

Gracias