Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: LCS: Cambiar la ruta de log
Enrique Fernández Rodríguez, modificat fa 7 anys.
New Member
Apunts: 15
Data d'incorporació: 25/02/13
Publicacions recents
¡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
Jose Jimenez, modificat fa 7 anys.
RE: LCS: Cambiar la ruta de log
(Resposta)
Regular Member
Apunts: 176
Data d'incorporació: 23/08/12
Publicacions recents
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, modificat fa 7 anys.
New Member
Apunts: 15
Data d'incorporació: 25/02/13
Publicacions recents
Gracias por contestar,
Esperaba que hubiera otra forma de hacerlo pero lo haré como me indicas
Jose Jimenez, modificat fa 7 anys.
Regular Member
Apunts: 176
Data d'incorporació: 23/08/12
Publicacions recents
Enrique Fernández Rodríguez, modificat fa 7 anys.
New Member
Apunts: 15
Data d'incorporació: 25/02/13
Publicacions recents
Si, lo había añadido al foro en inglés.
Gracias
Community
Company
Feedback